guestfs-tools: patch less shebangs

This commit is contained in:
Astro 2022-10-10 22:55:18 +02:00
parent c365b0d47b
commit fd7f6be003

View file

@ -66,16 +66,16 @@ stdenv.mkDerivation rec {
xz
];
preConfigure = ''
patchShebangs ocaml-dep.sh.in ocaml-link.sh.in run.in
'';
makeFlags = [
"LIBGUESTFS_PATH=${libguestfs-with-appliance}/lib/guestfs"
];
enableParallelBuilding = true;
preBuild = ''
patchShebangs .
'';
postInstall = ''
wrapProgram $out/bin/virt-win-reg \
--prefix PERL5LIB : ${with perlPackages; makeFullPerlPath [ hivex libintl-perl libguestfs-with-appliance ]}