Skip to content

Commit

Permalink
libguestfs: add qemu to wrapped PATH
Browse files Browse the repository at this point in the history
virt-df doesn't find qemu-img otherwise.

(cherry picked from commit 65029be)
  • Loading branch information
ljli authored and globin committed Mar 26, 2017
1 parent eacd671 commit 8a30429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/libguestfs/default.nix
Expand Up @@ -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
'';
Expand Down

0 comments on commit 8a30429

Please sign in to comment.