gnupg22: fix cross compilation

Attempting to replicate changes from https://github.com/NixOS/nixpkgs/pull/298001/files
This commit is contained in:
Matt Martin
2024-06-23 09:23:33 -07:00
committed by GitHub
parent a7694217f3
commit 6f01a4014b
+1 -1
View File
@@ -48,7 +48,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 stdenv.isDarwin "--disable-ccid-driver";