Prefer GnuPG 2.0.x by default.
"nix-env -iA gnupg" installs the 2.0.x version of GNU Privacy Guard. This patch ensures that "nix-env -i gnupg" chooses the same version, instead of installing GnuPG 2.1.x, which is considered a "development version". Closes https://github.com/NixOS/nixpkgs/issues/11899.
This commit is contained in:
parent
840dbe7def
commit
d9ad002b2c
|
@ -1657,7 +1657,7 @@ let
|
|||
|
||||
gnupg20 = callPackage ../tools/security/gnupg/20.nix { };
|
||||
|
||||
gnupg21 = callPackage ../tools/security/gnupg/21.nix { };
|
||||
gnupg21 = lowPrio (callPackage ../tools/security/gnupg/21.nix { });
|
||||
|
||||
gnupg = gnupg20;
|
||||
|
||||
|
|
Loading…
Reference in a new issue