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.
commitd9ad002b2c49fed8fd416cbbf6eba4962e17fa1e
authorPeter Simons <simons@cryp.to>
dateSat 26 Dec 2015, 13:39 (11 years ago)
parent840dbe7
pkgs/top-level/all-packages.nix+1−1
@@ -1657,7 +1657,7 @@ let
16571657
16581658 gnupg20 = callPackage ../tools/security/gnupg/20.nix { };
16591659
1660− gnupg21 = callPackage ../tools/security/gnupg/21.nix { };
1660+ gnupg21 = lowPrio (callPackage ../tools/security/gnupg/21.nix { });
16611661
16621662 gnupg = gnupg20;
16631663