libguestfs: add qemu to wrapped PATH

virt-df doesn't find qemu-img otherwise.
This commit is contained in:
Leon Isenberg 2017-03-26 13:17:51 +02:00 committed by Robin Gloster
parent 09c91f5fea
commit 65029beb38

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
'';