libsecret: pass libgcrypt prefix to ./configure

Fixes cross compilation builds not finding the libgcrypt-config binary.
This commit is contained in:
Pierre Bourdon 2019-04-06 15:05:44 +02:00
parent 57de25b319
commit 2306fa644c
No known key found for this signature in database
GPG Key ID: 6FB80DCD84DA0F1C

View File

@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
buildInputs = [ libgcrypt ];
# optional: build docs with gtk-doc? (probably needs a flag as well)
configureFlags = [
"--with-libgcrypt-prefix=${libgcrypt.dev}"
];
enableParallelBuilding = true;
installCheckInputs = [ python3 python3.pkgs.dbus-python python3.pkgs.pygobject3 xvfb_run dbus gnome3.gjs ];