diff options
author | Alyssa Ross <alyssa.ross@unikie.com> | 2022-12-01 08:38:44 +0000 |
---|---|---|
committer | Alyssa Ross <alyssa.ross@unikie.com> | 2022-12-01 08:49:30 +0000 |
commit | 74a154509028f703bd828e4629f76a79b120d19b (patch) | |
tree | 4c6aa74d42b1ffbadc3f07dcae8e9967e4a8e03e /pkgs/tools/virtualization | |
parent | ad3c91ce355c5a650dedc60f341f697f85363c18 (diff) |
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.
Diffstat (limited to 'pkgs/tools/virtualization')
-rw-r--r-- | pkgs/tools/virtualization/guestfs-tools/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/virtualization/guestfs-tools/default.nix b/pkgs/tools/virtualization/guestfs-tools/default.nix index 82b657673ff08..1c213c6b3243a 100644 --- a/pkgs/tools/virtualization/guestfs-tools/default.nix +++ b/pkgs/tools/virtualization/guestfs-tools/default.nix @@ -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 ]} |