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 = ''
|
preConfigure = ''
|
||||||
substituteInPlace setup.py --replace /usr $out
|
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";
|
installCommand = "python setup.py install --prefix=$out";
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in New Issue