mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
couchpotato: remove the /usr/bin/env dependency
leave the fixupPhase intact so it can patch script interpreter paths
This commit is contained in:
parent
931921664f
commit
53ac12b25b
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user