diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/gkleen@bragi.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/users/gkleen@bragi.nix b/users/gkleen@bragi.nix index a03e5122..47836f7f 100644 --- a/users/gkleen@bragi.nix +++ b/users/gkleen@bragi.nix | |||
@@ -45,5 +45,19 @@ | |||
45 | }; | 45 | }; |
46 | } | 46 | } |
47 | ); | 47 | ); |
48 | wombatWrapper = pkgs.stdenv.mkDerivation { | ||
49 | name = "wombat-wrapper"; | ||
50 | src = myHaskellPackages.wombat; | ||
51 | unpackPhase = "true"; | ||
52 | buildInputs = [ pkgs.makeWrapper pkgs.rsync ]; | ||
53 | installPhase = '' | ||
54 | mkdir -p $out | ||
55 | rsync -a $src/ $out/ | ||
56 | chmod u+w $out/bin | ||
57 | wrapProgram $out/bin/wombat \ | ||
58 | --prefix PATH : ${pkgs.ffmpeg}/bin \ | ||
59 | --prefix PATH : ${pkgs.youtube-dl}/bin | ||
60 | ''; | ||
61 | }; | ||
48 | }; | 62 | }; |
49 | } | 63 | } |