From 2306fa644c46d7cd6afa0b3168729188b7551fcf Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 6 Apr 2019 15:05:44 +0200 Subject: [PATCH] libsecret: pass libgcrypt prefix to ./configure Fixes cross compilation builds not finding the libgcrypt-config binary. --- pkgs/development/libraries/libsecret/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/libsecret/default.nix b/pkgs/development/libraries/libsecret/default.nix index d3b07dfb0493..6c2723bbd907 100644 --- a/pkgs/development/libraries/libsecret/default.nix +++ b/pkgs/development/libraries/libsecret/default.nix @@ -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 ];