From 1cea630b5bd94ed79c9f53f937f7e849b39009e5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 12 Jun 2015 20:07:39 +0200 Subject: Wombat wrapper for forcing --- users/gkleen@bragi.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'users') 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 @@ }; } ); + wombatWrapper = pkgs.stdenv.mkDerivation { + name = "wombat-wrapper"; + src = myHaskellPackages.wombat; + unpackPhase = "true"; + buildInputs = [ pkgs.makeWrapper pkgs.rsync ]; + installPhase = '' + mkdir -p $out + rsync -a $src/ $out/ + chmod u+w $out/bin + wrapProgram $out/bin/wombat \ + --prefix PATH : ${pkgs.ffmpeg}/bin \ + --prefix PATH : ${pkgs.youtube-dl}/bin + ''; + }; }; } -- cgit v1.2.3