git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #155651 from veprbl/pr/gnupg_procfs_nowarn

gnupg: remove warning printed on systems without procfs

commit6b5f025b31a92c4b8a810e3ba7ed3650d19f6636 authorDmitry Kalinkin <dmitry.kalinkin@gmail.com> dateSat 29 Jan 2022, 22:35 (5 years ago) parent6f391d882c7f4a
1 file changed+7
pkgs/tools/security/gnupg/23.nix+7
pkgs/tools/security/gnupg/23.nix+7
@@ -34,6 +34,13 @@ stdenv.mkDerivation rec {
3434 ./tests-add-test-cases-for-import-without-uid.patch
3535 ./allow-import-of-previously-known-keys-even-without-UI.patch
3636 ./accept-subkeys-with-a-good-revocation-but-no-self-sig.patch
37+ ] ++ lib.optional stdenv.isDarwin [
38+ # Remove an innocent warning printed on systems without procfs
39+ # https://dev.gnupg.org/T5656
40+ (fetchpatch {
41+ url = "https://raw.githubusercontent.com/Homebrew/formula-patches/890be5f6af88e7913d177af87a50129049e681bb/gnupg/2.3.3-proc-error.patch";
42+ sha256 = "sha256-oiTa7Nf+AEmhZ683CJEaCb559PXJ6RpSSgRLpxz4CKU=";
43+ })
3744 ];
3845 postPatch = ''
3946 sed -i 's,hkps://hkps.pool.sks-keyservers.net,hkps://keys.openpgp.org,g' configure doc/dirmngr.texi doc/gnupg.info-1