about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorDaniel Kuehn <daniel@kuehn.se>2018-03-22 21:08:28 +0100
committerDaniel Kuehn <daniel@kuehn.se>2018-03-22 21:08:28 +0100
commitd74bcbc8ad0d683a368fde8ec5ad5ae168989199 (patch)
tree67b06049dd3fbaf41d9966536b6d2d6422c0f440 /pkgs/tools
parenta9a7580c3fe85c8497c3aa3dbe8b7a27ebdda7a5 (diff)
downloadnixlib-d74bcbc8ad0d683a368fde8ec5ad5ae168989199.tar
nixlib-d74bcbc8ad0d683a368fde8ec5ad5ae168989199.tar.gz
nixlib-d74bcbc8ad0d683a368fde8ec5ad5ae168989199.tar.bz2
nixlib-d74bcbc8ad0d683a368fde8ec5ad5ae168989199.tar.lz
nixlib-d74bcbc8ad0d683a368fde8ec5ad5ae168989199.tar.xz
nixlib-d74bcbc8ad0d683a368fde8ec5ad5ae168989199.tar.zst
nixlib-d74bcbc8ad0d683a368fde8ec5ad5ae168989199.zip
ceph: Change hardcoded site-packages path to utilizing the python2Packages.python.sitePackages attribute instead
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/filesystems/ceph/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/ceph/generic.nix b/pkgs/tools/filesystems/ceph/generic.nix
index a637d3891ec0..764f082aa899 100644
--- a/pkgs/tools/filesystems/ceph/generic.nix
+++ b/pkgs/tools/filesystems/ceph/generic.nix
@@ -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;