mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
guestfs-tools: use libguestfs-with-appliance
Fixes "cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH" when running virt-make-fs.
This commit is contained in:
parent
f77a8a1df0
commit
c365b0d47b
1 changed files with 7 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
, getopt
|
||||
, hivex
|
||||
, jansson
|
||||
, libguestfs
|
||||
, libguestfs-with-appliance
|
||||
, libvirt
|
||||
, libxml2
|
||||
, makeWrapper
|
||||
|
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
hivex
|
||||
jansson
|
||||
libguestfs
|
||||
libguestfs-with-appliance
|
||||
libvirt
|
||||
libxml2
|
||||
ncurses
|
||||
|
@ -66,6 +66,10 @@ stdenv.mkDerivation rec {
|
|||
xz
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"LIBGUESTFS_PATH=${libguestfs-with-appliance}/lib/guestfs"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preBuild = ''
|
||||
|
@ -74,7 +78,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/virt-win-reg \
|
||||
--prefix PERL5LIB : ${with perlPackages; makeFullPerlPath [ hivex libintl-perl libguestfs ]}
|
||||
--prefix PERL5LIB : ${with perlPackages; makeFullPerlPath [ hivex libintl-perl libguestfs-with-appliance ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue