about summary refs log tree commit diff
path: root/pkgs/tools/security/gnupg
diff options
context:
space:
mode:
authorColin <colin@uninsane.org>2024-03-22 04:35:41 +0000
committerColin <colin@uninsane.org>2024-03-22 04:35:46 +0000
commitd599839060400762a67d2c01d15b102ffe75e703 (patch)
tree024106f4be9dffa251fe3383770b5a612bbd2997 /pkgs/tools/security/gnupg
parentb7d77e743ca3ece90d697005c224e893b5b1dd08 (diff)
gnupg: fix cross compilation
when `npth` upgraded 1.6 -> 1.7, the `npth-config` binary it previously
provided was removed, and functionality folded into `gpgrt-config`. see:
<https://github.com/gpg/npth/blob/417abd56fd7bf45cd4948414050615cb1ad59134/NEWS#L8>
Diffstat (limited to 'pkgs/tools/security/gnupg')
-rw-r--r--pkgs/tools/security/gnupg/24.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/gnupg/24.nix b/pkgs/tools/security/gnupg/24.nix
index cc3ae15e9a1c7..721c99dc4de9a 100644
--- a/pkgs/tools/security/gnupg/24.nix
+++ b/pkgs/tools/security/gnupg/24.nix
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
     "--with-libgcrypt-prefix=${libgcrypt.dev}"
     "--with-libassuan-prefix=${libassuan.dev}"
     "--with-ksba-prefix=${libksba.dev}"
-    "--with-npth-prefix=${npth}"
+    "GPGRT_CONFIG=${lib.getDev libgpg-error}/bin/gpgrt-config"
   ]
   ++ lib.optional guiSupport "--with-pinentry-pgm=${pinentry}/${pinentry.binaryPath or "bin/pinentry"}"
   ++ lib.optional withTpm2Tss "--with-tss=intel"