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.
main
Daniel Poelzleithner 3 years ago
parent 36a614fe66
commit f95c6d6112
  1. 2
      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

Loading…
Cancel
Save