Merge pull request #194439 from hercules-ci/fix-python3Packages.libvirt-build-on-darwin

This commit is contained in:
Bernardo Meurer 2022-10-04 13:25:56 -03:00 committed by GitHub
commit 5236fdc433
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,6 +125,7 @@ stdenv.mkDerivation rec {
patches = [ patches = [
./0001-meson-patch-in-an-install-prefix-for-building-on-nix.patch ./0001-meson-patch-in-an-install-prefix-for-building-on-nix.patch
] ++ lib.optionals enableZfs [
(substituteAll { (substituteAll {
src = ./0002-substitute-zfs-and-zpool-commands.patch; src = ./0002-substitute-zfs-and-zpool-commands.patch;
zfs = "${zfs}/bin/zfs"; zfs = "${zfs}/bin/zfs";