]>
Commit | Line | Data |
---|---|---|
1 | { ruby_2_6, bundlerEnv, mylibs, stdenv }: | |
2 | let | |
3 | gems = bundlerEnv { | |
4 | name = "taskwarrior-web-env"; | |
5 | ruby = ruby_2_6; | |
6 | pname = "taskwarrior-web"; | |
7 | gemset = ./gemset.nix; | |
8 | gemdir = package.out; | |
9 | groups = [ "default" "local" "development" ]; | |
10 | }; | |
11 | package = stdenv.mkDerivation (mylibs.fetchedGithub ./taskwarrior-web.json // rec { | |
12 | phases = [ "unpackPhase" "patchPhase" "installPhase" ]; | |
13 | patches = [ ./fixes.patch ./thin.patch ]; | |
14 | installPhase = '' | |
15 | cp -a . $out | |
16 | cp ${./Gemfile.lock} $out/Gemfile.lock | |
17 | ''; | |
18 | passthru = { | |
19 | inherit gems; | |
20 | }; | |
21 | }); | |
22 | in package |