ceph: Change hardcoded site-packages path to utilizing the python2Packages.python.sitePackages attribute instead

(cherry picked from commit d74bcbc8ad)
This commit is contained in:
Daniel Kuehn
2018-03-22 21:08:28 +01:00
committed by Jörg Thalheim
parent 38302326ce
commit 40212de191

View File

@@ -160,7 +160,7 @@ stdenv.mkDerivation {
postFixup = ''
wrapPythonPrograms
wrapProgram $out/bin/ceph-mgr --set PYTHONPATH $out/lib/python2.7/site-packages
wrapProgram $out/bin/ceph-mgr --set PYTHONPATH $out/${python2Packages.python.sitePackages}
'';
enableParallelBuilding = true;