Switch the default version of GNU Privacy Guard back to 2.0.
This patch effectively undoes @wkennington's update from 850da18. The problem
with GnuPG 2.1 is that its built-in 1.x compatibility differs from the one
provided in version 2.0, and these changes break 'gpg1compat in ways we don't
understand yet.
Commit 4c84621
attempted to remedy that issue by fixing gpg1compat to GPG 2.0,
but this caused further trouble because the GPG agent from versions 2.0 and 2.1
are incompatible, so users of the GPG 1.x interface (who were using GPG 2.0)
could not talk to their X session's agent (which comes from GPG 2.1).
The corresponding ticket is https://github.com/NixOS/nixpkgs/issues/4888.
This commit is contained in:
parent
57a84615c6
commit
3b96e0c752
@ -1275,7 +1275,7 @@ let
|
||||
|
||||
gnupg1orig = callPackage ../tools/security/gnupg/1.nix { };
|
||||
|
||||
gnupg1compat = callPackage ../tools/security/gnupg/1compat.nix { gnupg = gnupg20; };
|
||||
gnupg1compat = callPackage ../tools/security/gnupg/1compat.nix { };
|
||||
|
||||
# use config.packageOverrides if you prefer original gnupg1
|
||||
gnupg1 = gnupg1compat;
|
||||
@ -1288,7 +1288,7 @@ let
|
||||
libgcrypt = libgcrypt_1_6;
|
||||
};
|
||||
|
||||
gnupg = gnupg21;
|
||||
gnupg = gnupg20;
|
||||
|
||||
gnuplot = callPackage ../tools/graphics/gnuplot { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user