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.
This commit is contained in:
Alyssa Ross 2023-01-24 11:02:21 +00:00
parent 5cf7d65f6a
commit 10a9cce769
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -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}"