tyx's corner

nix

Pin GnuPG version for Emacs with Nix

This has been resolved on GnuPG version 2.4.4, it still is interesting to see how nix could help find an easy workaround to this issue. Some time ago, I upgraded Emacs to version 29.1 which has some issues with GnuPG >= 2.4.1. At first, I simply fell back to GnuPG 2.2.x using pkgs.gnupg22 in my Nix configuration but since it is insecure, Nix refused to build without me setting the NIXPKGS_ALLOW_INSECURE environment variable to 1.