mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
libguestfs: add qemu to wrapped PATH
virt-df doesn't find qemu-img otherwise.
(cherry picked from commit 65029beb38)
This commit is contained in:
committed by
Robin Gloster
parent
eacd671c2e
commit
8a30429bc8
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user