about summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorDaniel Poelzleithner <poelzleithner@b1-systems.de>2021-11-12 19:05:27 +0100
committerDaniel Poelzleithner <poelzleithner@b1-systems.de>2021-11-15 10:41:35 +0100
commitf95c6d611200153e73bac4a4b4c91fa2d45b3709 (patch)
treed958c58da1db1699544c24be667cab79a5008a89 /pkgs/tools/filesystems
parent36a614fe6631f18468c1f588be9ff9f29729c65a (diff)
ceph-client: fix copy of python modules
the site-packages content was wrongly copied, causing a
.../site-packages/site-packages/... in the ceph-client packages.
This renders thi ceph tool unusable.
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/ceph/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/ceph/default.nix b/pkgs/tools/filesystems/ceph/default.nix
index 04774e851b3ec..eea867afdfc52 100644
--- a/pkgs/tools/filesystems/ceph/default.nix
+++ b/pkgs/tools/filesystems/ceph/default.nix
@@ -247,7 +247,7 @@ in rec {
       cp -r ${ceph}/bin/rbd-replay* $out/bin
       cp -r ${ceph}/sbin/mount.ceph $out/sbin
       cp -r ${ceph}/sbin/mount.fuse.ceph $out/sbin
-      cp -r ${ceph}/${sitePackages} $out/${sitePackages}
+      cp -r ${ceph}/${sitePackages}/* $out/${sitePackages}
       cp -r ${ceph}/etc/bash_completion.d $out/share/bash-completion/completions
       # wrapPythonPrograms modifies .ceph-wrapped, so lets just update its paths
       substituteInPlace $out/bin/ceph          --replace ${ceph} $out