From 0a62fb98de10b01cc32f43c66ab0019d15c05b3b Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 25 Jan 2023 18:46:10 +0000 Subject: [PATCH] libgudev: 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. --- pkgs/development/libraries/libgudev/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/libraries/libgudev/default.nix b/pkgs/development/libraries/libgudev/default.nix index 799e1d0f845..59df64e6355 100644 --- a/pkgs/development/libraries/libgudev/default.nix +++ b/pkgs/development/libraries/libgudev/default.nix @@ -55,7 +55,6 @@ stdenv.mkDerivation rec { ]; buildInputs = [ - gobject-introspection udev glib ];