Merge pull request #146579 from flurie/fix-libvirt-aarch64-darwin

libvirt: fix build on aarch64-darwin
This commit is contained in:
Robert Hensing 2021-11-19 16:30:21 +01:00 committed by GitHub
commit 458a408142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -60,6 +60,8 @@
, ceph
, enableGlusterfs ? false
, glusterfs
, Carbon
, AppKit
}:
with lib;
@ -152,6 +154,8 @@ stdenv.mkDerivation rec {
] ++ optionals stdenv.isDarwin [
libiconv
gmp
Carbon
AppKit
];
preConfigure =

View file

@ -18363,7 +18363,9 @@ with pkgs;
libversion = callPackage ../development/libraries/libversion { };
libvirt = callPackage ../development/libraries/libvirt { };
libvirt = callPackage ../development/libraries/libvirt {
inherit (darwin.apple_sdk.frameworks) Carbon AppKit;
};
libvirt_5_9_0 = callPackage ../development/libraries/libvirt/5.9.0.nix { };
libvirt-glib = callPackage ../development/libraries/libvirt-glib { };