about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/ceph
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/filesystems/ceph
parenta9a7580c3fe85c8497c3aa3dbe8b7a27ebdda7a5 (diff)
ceph: Change hardcoded site-packages path to utilizing the python2Packages.python.sitePackages attribute instead
Diffstat (limited to 'pkgs/tools/filesystems/ceph')
-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 a637d3891ec0a..764f082aa899f 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;