pinentry: fix cross

When cross-compiling, pinentry's configury needs extra hints about
where to find libassuan and libgpg-error.  Let's provide them.
This commit is contained in:
Adam Joseph 2023-04-08 11:59:40 -07:00
parent 584278efac
commit 7261e7544e

View file

@ -62,6 +62,8 @@ pinentryMkDerivation rec {
];
configureFlags = [
"--with-libgpg-error-prefix=${libgpg-error.dev}"
"--with-libassuan-prefix=${libassuan.dev}"
(lib.enableFeature withLibsecret "libsecret")
] ++ (map enableFeaturePinentry (lib.attrNames flavorInfo));