couchpotato: remove the /usr/bin/env dependency

leave the fixupPhase intact so it can patch script interpreter paths
This commit is contained in:
zimbatm 2019-06-25 13:24:31 +02:00
parent 931921664f
commit 53ac12b25b
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -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 = {