From 53ac12b25be037ef59e0fba34ac671bac01d7421 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Tue, 25 Jun 2019 13:24:31 +0200 Subject: [PATCH] couchpotato: remove the /usr/bin/env dependency leave the fixupPhase intact so it can patch script interpreter paths --- pkgs/servers/couchpotato/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/couchpotato/default.nix b/pkgs/servers/couchpotato/default.nix index a996cec0d5b5..8b2895392bec 100644 --- a/pkgs/servers/couchpotato/default.nix +++ b/pkgs/servers/couchpotato/default.nix @@ -29,9 +29,8 @@ buildPythonApplication rec { chmod +x $out/bin/* ''; - fixupPhase = '' - wrapProgram "$out/bin/couchpotato" --set PYTHONPATH "$PYTHONPATH:$out/${python.sitePackages}" \ - --set PATH ${python}/bin + postFixup = '' + wrapProgram "$out/bin/couchpotato" --set PYTHONPATH "$PYTHONPATH:$out/${python.sitePackages}" ''; meta = {