Merge pull request #146108 from poelzi/fix-ceph

ceph-client: fix copy of python modules

authored by Sarah Brofeldt and committed by GitHub a40917f3 b81e66ef

+5 -4
+5 -4
pkgs/tools/filesystems/ceph/default.nix
··· 241 ceph-client = runCommand "ceph-client-${version}" { 242 meta = getMeta "Tools needed to mount Ceph's RADOS Block Devices/Cephfs"; 243 } '' 244 - mkdir -p $out/{bin,sbin,etc,${sitePackages},share/bash-completion/completions} 245 cp -r ${ceph}/bin/{ceph,.ceph-wrapped,rados,rbd,rbdmap} $out/bin 246 cp -r ${ceph}/bin/ceph-{authtool,conf,dencoder,rbdnamer,syn} $out/bin 247 cp -r ${ceph}/bin/rbd-replay* $out/bin 248 - cp -r ${ceph}/sbin/mount.ceph $out/sbin 249 - cp -r ${ceph}/sbin/mount.fuse.ceph $out/sbin 250 - cp -r ${ceph}/${sitePackages} $out/${sitePackages} 251 cp -r ${ceph}/etc/bash_completion.d $out/share/bash-completion/completions 252 # wrapPythonPrograms modifies .ceph-wrapped, so lets just update its paths 253 substituteInPlace $out/bin/ceph --replace ${ceph} $out
··· 241 ceph-client = runCommand "ceph-client-${version}" { 242 meta = getMeta "Tools needed to mount Ceph's RADOS Block Devices/Cephfs"; 243 } '' 244 + mkdir -p $out/{bin,etc,${sitePackages},share/bash-completion/completions} 245 cp -r ${ceph}/bin/{ceph,.ceph-wrapped,rados,rbd,rbdmap} $out/bin 246 cp -r ${ceph}/bin/ceph-{authtool,conf,dencoder,rbdnamer,syn} $out/bin 247 cp -r ${ceph}/bin/rbd-replay* $out/bin 248 + cp -r ${ceph}/sbin/mount.ceph $out/bin 249 + cp -r ${ceph}/sbin/mount.fuse.ceph $out/bin 250 + ln -s bin $out/sbin 251 + cp -r ${ceph}/${sitePackages}/* $out/${sitePackages} 252 cp -r ${ceph}/etc/bash_completion.d $out/share/bash-completion/completions 253 # wrapPythonPrograms modifies .ceph-wrapped, so lets just update its paths 254 substituteInPlace $out/bin/ceph --replace ${ceph} $out