From 8c71ab22c6df4e5ce290e131a7769688b0c5a017 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 24 Oct 2023 14:52:02 +0000 Subject: [PATCH] gcr: remove build gnupg from runtime closure --- pkgs/development/libraries/gcr/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gcr/default.nix b/pkgs/development/libraries/gcr/default.nix index 0f03e9184e19..48ab01af8578 100644 --- a/pkgs/development/libraries/gcr/default.nix +++ b/pkgs/development/libraries/gcr/default.nix @@ -35,6 +35,8 @@ stdenv.mkDerivation rec { sha256 = "u3Eoo8L+u/7pwDuQ131JjQzrI3sHiYAtYBhcccS+ok8="; }; + strictDeps = true; + nativeBuildInputs = [ pkg-config meson @@ -46,7 +48,6 @@ stdenv.mkDerivation rec { wrapGAppsHook vala shared-mime-info - gnupg openssh ]; @@ -74,6 +75,7 @@ stdenv.mkDerivation rec { # We are still using ssh-agent from gnome-keyring. # https://github.com/NixOS/nixpkgs/issues/140824 "-Dssh_agent=false" + "-Dgpg_path=${lib.getBin gnupg}/bin/gpg" ] ++ lib.optionals (!systemdSupport) [ "-Dsystemd=disabled" ];