linuxPackages.bcc: Fix quoting for older Nix versions

Issue #31179.
This commit is contained in:
Tuomas Tynkkynen 2017-11-03 13:11:36 +02:00
parent 208fd87149
commit b2093d4611

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
mv $out/share/bcc/man $out/share/ mv $out/share/bcc/man $out/share/
find $out/share/bcc/tools -type f -executable -print0 | \ find $out/share/bcc/tools -type f -executable -print0 | \
while IFS= read -r -d $'\0' f; do while IFS= read -r -d ''$'\0' f; do
pythonLibs="$out/lib/python2.7/site-packages:${pythonPackages.netaddr}/lib/${python.libPrefix}/site-packages" pythonLibs="$out/lib/python2.7/site-packages:${pythonPackages.netaddr}/lib/${python.libPrefix}/site-packages"
rm -f $out/bin/$(basename $f) rm -f $out/bin/$(basename $f)
makeWrapper $f $out/bin/$(basename $f) \ makeWrapper $f $out/bin/$(basename $f) \