libvirt: fix build on darwin
This commit is contained in:
parent
7a36468853
commit
d8bb5e420f
@ -183,6 +183,10 @@ stdenv.mkDerivation rec {
|
|||||||
# do not use "''${qemu_kvm}/bin/qemu-kvm" to avoid bound VMs to particular qemu derivations
|
# do not use "''${qemu_kvm}/bin/qemu-kvm" to avoid bound VMs to particular qemu derivations
|
||||||
substituteInPlace src/lxc/lxc_conf.c \
|
substituteInPlace src/lxc/lxc_conf.c \
|
||||||
--replace 'lxc_path,' '"/run/libvirt/nix-emulators/libvirt_lxc",'
|
--replace 'lxc_path,' '"/run/libvirt/nix-emulators/libvirt_lxc",'
|
||||||
|
substituteInPlace build-aux/meson.build \
|
||||||
|
--replace "gsed" "sed" \
|
||||||
|
--replace "gmake" "make" \
|
||||||
|
--replace "ggrep" "grep"
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
''
|
''
|
||||||
+ (lib.concatStringsSep "\n" (lib.mapAttrsToList patchBuilder overrides));
|
+ (lib.concatStringsSep "\n" (lib.mapAttrsToList patchBuilder overrides));
|
||||||
|
Loading…
Reference in New Issue
Block a user