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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
Original file line number Diff line number Diff line change
@@ -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
'';

0 comments on commit 8a30429

Please sign in to comment.