diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-08-03 01:57:01 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-08-03 01:57:01 +0200 |
commit | eaeb09002a2f6cc2a4bd946488926d9e93e747a8 (patch) | |
tree | a70852a82769463145a3a232636cb4521b4e5fa5 /pkgs/development/libraries/libvirt-glib | |
parent | 32b6f46ec035996dbc6f1fce5d9c353376888f8a (diff) |
libvirt-glib: add darwin support
Diffstat (limited to 'pkgs/development/libraries/libvirt-glib')
-rw-r--r-- | pkgs/development/libraries/libvirt-glib/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libvirt-glib/default.nix b/pkgs/development/libraries/libvirt-glib/default.nix index f86edf1bfbcb5..b7efdf2cf7d88 100644 --- a/pkgs/development/libraries/libvirt-glib/default.nix +++ b/pkgs/development/libraries/libvirt-glib/default.nix @@ -45,8 +45,9 @@ stdenv.mkDerivation rec { gobject-introspection ]; - buildInputs = [ + buildInputs = (lib.optionals stdenv.isLinux [ libcap_ng + ]) ++ [ libvirt libxml2 gobject-introspection @@ -66,6 +67,6 @@ stdenv.mkDerivation rec { ''; homepage = "https://libvirt.org/"; license = licenses.lgpl2Plus; - platforms = platforms.linux; + platforms = platforms.unix; }; } |