Skip to content

Commit 0f59c9c

Browse files
committedMay 19, 2017
libguestfs: fix build
1 parent 61451f1 commit 0f59c9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎pkgs/development/libraries/libguestfs/default.nix

+4
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,15 @@ stdenv.mkDerivation rec {
3535
substituteInPlace ocaml/Makefile.in --replace '$(DESTDIR)$(OCAMLLIB)' '$(out)/lib/ocaml'
3636
substituteInPlace v2v/test-harness/Makefile.am --replace '$(DESTDIR)$(OCAMLLIB)' '$(out)/lib/ocaml'
3737
substituteInPlace v2v/test-harness/Makefile.in --replace '$(DESTDIR)$(OCAMLLIB)' '$(out)/lib/ocaml'
38+
39+
# some scripts hardcore /usr/bin/env which is not available in the build env
40+
patchShebangs .
3841
'';
3942
configureFlags = "--disable-appliance --disable-daemon";
4043
patches = [ ./libguestfs-syms.patch ];
4144
NIX_CFLAGS_COMPILE="-I${libxml2.dev}/include/libxml2/";
4245
installFlags = "REALLY_INSTALL=yes";
46+
enableParallelBuilding = true;
4347

4448
postInstall = ''
4549
for bin in $out/bin/*; do

0 commit comments

Comments
 (0)
Please sign in to comment.