guestfs-tools: add virt-builder runtime deps
These are required to do anything useful with the program. It tries to run virt-resize from PATH, so $out/bin needs to be included as well.
This commit is contained in:
parent
ad3c91ce35
commit
74a1545090
@ -5,8 +5,10 @@
|
||||
, bison
|
||||
, cdrkit
|
||||
, cpio
|
||||
, curl
|
||||
, flex
|
||||
, getopt
|
||||
, gnupg
|
||||
, hivex
|
||||
, jansson
|
||||
, libguestfs-with-appliance
|
||||
@ -95,6 +97,7 @@ stdenv.mkDerivation rec {
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/virt-builder \
|
||||
--argv0 virt-builder \
|
||||
--prefix PATH : ${lib.makeBinPath [ curl gnupg ]}:$out/bin \
|
||||
--suffix VIRT_BUILDER_DIRS : /etc:$out/etc
|
||||
wrapProgram $out/bin/virt-win-reg \
|
||||
--prefix PERL5LIB : ${with perlPackages; makeFullPerlPath [ hivex libintl-perl libguestfs-with-appliance ]}
|
||||
|
Loading…
Reference in New Issue
Block a user