diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-12 20:07:39 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-12 20:07:39 +0200 |
commit | 1cea630b5bd94ed79c9f53f937f7e849b39009e5 (patch) | |
tree | 2ec02f5966217a3bad28e9189a0d55b5f827e707 /users/gkleen@bragi.nix | |
parent | 88b04c2d33d2b330bf9a5ae51ec6088819407762 (diff) | |
download | nixos-1cea630b5bd94ed79c9f53f937f7e849b39009e5.tar nixos-1cea630b5bd94ed79c9f53f937f7e849b39009e5.tar.gz nixos-1cea630b5bd94ed79c9f53f937f7e849b39009e5.tar.bz2 nixos-1cea630b5bd94ed79c9f53f937f7e849b39009e5.tar.xz nixos-1cea630b5bd94ed79c9f53f937f7e849b39009e5.zip |
Wombat wrapper for forcing
Diffstat (limited to 'users/gkleen@bragi.nix')
-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 | } |