Regress GnuPG to version 2.4.0

Version 2.4.1 contains a bug that prevents emacs's use of it from
working properly.
This commit is contained in:
Kiana Sheibani 2024-02-20 01:15:47 -05:00
parent 4702a026b7
commit afd799ac07

View file

@ -38,6 +38,14 @@
}; };
programs.gpg.enable = true; programs.gpg.enable = true;
programs.gpg.package = pkgs.gnupg.overrideAttrs (orig: {
version = "2.4.0";
src = pkgs.fetchurl {
url = "mirror://gnupg/gnupg/gnupg-2.4.0.tar.bz2";
hash = "sha256-HXkVjdAdmSQx3S4/rLif2slxJ/iXhOosthDGAPsMFIM=";
};
});
services.gpg-agent = { services.gpg-agent = {
enable = true; enable = true;
enableSshSupport = true; enableSshSupport = true;