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
1 changed files with 3 additions and 0 deletions
|
@ -5,8 +5,10 @@
|
||||||
, bison
|
, bison
|
||||||
, cdrkit
|
, cdrkit
|
||||||
, cpio
|
, cpio
|
||||||
|
, curl
|
||||||
, flex
|
, flex
|
||||||
, getopt
|
, getopt
|
||||||
|
, gnupg
|
||||||
, hivex
|
, hivex
|
||||||
, jansson
|
, jansson
|
||||||
, libguestfs-with-appliance
|
, libguestfs-with-appliance
|
||||||
|
@ -95,6 +97,7 @@ stdenv.mkDerivation rec {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/virt-builder \
|
wrapProgram $out/bin/virt-builder \
|
||||||
--argv0 virt-builder \
|
--argv0 virt-builder \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ curl gnupg ]}:$out/bin \
|
||||||
--suffix VIRT_BUILDER_DIRS : /etc:$out/etc
|
--suffix VIRT_BUILDER_DIRS : /etc:$out/etc
|
||||||
wrapProgram $out/bin/virt-win-reg \
|
wrapProgram $out/bin/virt-win-reg \
|
||||||
--prefix PERL5LIB : ${with perlPackages; makeFullPerlPath [ hivex libintl-perl libguestfs-with-appliance ]}
|
--prefix PERL5LIB : ${with perlPackages; makeFullPerlPath [ hivex libintl-perl libguestfs-with-appliance ]}
|
||||||
|
|
Loading…
Reference in a new issue