From f7af17693e6cc56ec59d9ef771b855d87cb0aeec Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 25 Jan 2023 18:47:14 +0000 Subject: [PATCH] libsecret: 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/libsecret/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/libraries/libsecret/default.nix b/pkgs/development/libraries/libsecret/default.nix index fd2cadf1602d..364503b5b10c 100644 --- a/pkgs/development/libraries/libsecret/default.nix +++ b/pkgs/development/libraries/libsecret/default.nix @@ -52,7 +52,6 @@ stdenv.mkDerivation rec { buildInputs = [ libgcrypt - gobject-introspection ]; propagatedBuildInputs = [