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