libguestfs: add qemu to wrapped PATH

virt-df doesn't find qemu-img otherwise.
wip/yesman
Leon Isenberg 7 years ago committed by Robin Gloster
parent 09c91f5fea
commit 65029beb38
  1. 2
      pkgs/development/libraries/libguestfs/default.nix

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

Loading…
Cancel
Save