summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-01-25 18:48:12 +0000
committerAlyssa Ross <hi@alyssa.is>2023-02-04 18:45:25 +0000
commitfcda6023e277f186f5dd34c6f2eeba3c7d34520a (patch)
treefae81f21c355b430b494f3da34df3f22f9c41d8a
parentf7af17693e6cc56ec59d9ef771b855d87cb0aeec (diff)
downloadnixpkgs-fcda6023e277f186f5dd34c6f2eeba3c7d34520a.tar
nixpkgs-fcda6023e277f186f5dd34c6f2eeba3c7d34520a.tar.gz
nixpkgs-fcda6023e277f186f5dd34c6f2eeba3c7d34520a.tar.bz2
nixpkgs-fcda6023e277f186f5dd34c6f2eeba3c7d34520a.tar.lz
nixpkgs-fcda6023e277f186f5dd34c6f2eeba3c7d34520a.tar.xz
nixpkgs-fcda6023e277f186f5dd34c6f2eeba3c7d34520a.tar.zst
nixpkgs-fcda6023e277f186f5dd34c6f2eeba3c7d34520a.zip
libvirt-glib: remove obsolete gobject-introspection build input
Since b2f9cd34e75 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
-rw-r--r--pkgs/development/libraries/libvirt-glib/default.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libvirt-glib/default.nix b/pkgs/development/libraries/libvirt-glib/default.nix
index 566a1c1b83f..cff3b32cb7b 100644
--- a/pkgs/development/libraries/libvirt-glib/default.nix
+++ b/pkgs/development/libraries/libvirt-glib/default.nix
@@ -55,8 +55,6 @@ stdenv.mkDerivation rec {
     libxml2
   ] ++ lib.optionals stdenv.isLinux [
     libcap_ng
-  ] ++ lib.optionals withIntrospection [
-    gobject-introspection
   ];
 
   strictDeps = true;