libguestfs: add qemu to wrapped PATH

virt-df doesn't find qemu-img otherwise.

(cherry picked from commit 65029beb38)
This commit is contained in:
Leon Isenberg
2017-03-26 13:17:51 +02:00
committed by Robin Gloster
parent eacd671c2e
commit 8a30429bc8

View File

@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
postInstall = ''
for bin in $out/bin/*; do
wrapProgram "$bin" \
--prefix "PATH" : "$out/bin:${hivex}/bin" \
--prefix "PATH" : "$out/bin:${hivex}/bin:${qemu}/bin" \
--prefix "PERL5LIB" : "$PERL5LIB:$out/lib/perl5/site_perl"
done
'';