summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-01-25 18:49:15 +0000
committerAlyssa Ross <hi@alyssa.is>2023-02-04 18:45:37 +0000
commit309e4dc8b99f9648c125ffde1430578674602c11 (patch)
tree62e7ca82363470c76ed545cd3e5fcecb4422c398
parent448dde20b1eefda05c668b18b03b157a20ff916e (diff)
downloadnixpkgs-309e4dc8b99f9648c125ffde1430578674602c11.tar
nixpkgs-309e4dc8b99f9648c125ffde1430578674602c11.tar.gz
nixpkgs-309e4dc8b99f9648c125ffde1430578674602c11.tar.bz2
nixpkgs-309e4dc8b99f9648c125ffde1430578674602c11.tar.lz
nixpkgs-309e4dc8b99f9648c125ffde1430578674602c11.tar.xz
nixpkgs-309e4dc8b99f9648c125ffde1430578674602c11.tar.zst
nixpkgs-309e4dc8b99f9648c125ffde1430578674602c11.zip
python3.pkgs.pygobject: 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/python-modules/pygobject/3.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pygobject/3.nix b/pkgs/development/python-modules/pygobject/3.nix
index 20c45462d9e..893fd1e6456 100644
--- a/pkgs/development/python-modules/pygobject/3.nix
+++ b/pkgs/development/python-modules/pygobject/3.nix
@@ -42,8 +42,7 @@ buildPythonPackage rec {
   ];
 
   buildInputs = [
-    # # .so files link to these
-    gobject-introspection
+    # # .so files link to this
     glib
   ] ++ lib.optionals stdenv.isDarwin [
     ncurses