From 10a9cce76904ae5c68de574ce9265804c6f27f66 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 24 Jan 2023 11:02:21 +0000 Subject: volume_key: fix cross gpgme comes with autoconf macros, so needs to be in nativeBuildInputs. I've removed some redundant inputs as well: we don't need autoconf, automake and libtool since we have autoreconfHook, and we don't need gpgme in buildInputs since with --with-gpgme-prefix configure flag does the same thing. Set strictDeps to catch regressions. --- pkgs/development/libraries/volume-key/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/volume-key/default.nix b/pkgs/development/libraries/volume-key/default.nix index cc0049ef756..2c277452176 100644 --- a/pkgs/development/libraries/volume-key/default.nix +++ b/pkgs/development/libraries/volume-key/default.nix @@ -16,9 +16,11 @@ stdenv.mkDerivation rec { outputs = [ "out" "man" "dev" "py" ]; - nativeBuildInputs = [ autoconf automake libtool pkg-config gettext swig autoreconfHook ]; + strictDeps = true; - buildInputs = [ glib cryptsetup nss util-linux gpgme ncurses ]; + nativeBuildInputs = [ autoreconfHook gettext gpgme pkg-config swig ]; + + buildInputs = [ glib cryptsetup nss util-linux ncurses ]; configureFlags = [ "--with-gpgme-prefix=${gpgme.dev}" -- cgit 1.4.1