diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-01-24 11:02:21 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-01-24 21:09:18 +0000 |
commit | 10a9cce76904ae5c68de574ce9265804c6f27f66 (patch) | |
tree | d74604939a3fa68f7a5d6ec6f01053919a307ba6 | |
parent | 5cf7d65f6a8bcb103b8eab01a3ccf4b214d39894 (diff) | |
download | nixpkgs-10a9cce76904ae5c68de574ce9265804c6f27f66.tar nixpkgs-10a9cce76904ae5c68de574ce9265804c6f27f66.tar.gz nixpkgs-10a9cce76904ae5c68de574ce9265804c6f27f66.tar.bz2 nixpkgs-10a9cce76904ae5c68de574ce9265804c6f27f66.tar.lz nixpkgs-10a9cce76904ae5c68de574ce9265804c6f27f66.tar.xz nixpkgs-10a9cce76904ae5c68de574ce9265804c6f27f66.tar.zst nixpkgs-10a9cce76904ae5c68de574ce9265804c6f27f66.zip |
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.
-rw-r--r-- | pkgs/development/libraries/volume-key/default.nix | 6 |
1 files 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}" |