mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Patch *all* references to sys.exec_prefix
.
This commit is contained in:
parent
ed7c311876
commit
5149f278aa
@ -16,7 +16,7 @@ in pythonPackages.buildPythonPackage rec {
|
||||
];
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py --replace /usr $out
|
||||
substituteInPlace setup.py --replace sys.exec_prefix \"$out\"
|
||||
find . -type f -exec grep -H sys.exec_prefix {} ';' | cut -d: -f1 | xargs sed -i s,sys.exec_prefix,\"$out\",
|
||||
'';
|
||||
installCommand = "python setup.py install --prefix=$out";
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user