mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #155651 from veprbl/pr/gnupg_procfs_nowarn
gnupg: remove warning printed on systems without procfs
This commit is contained in:
commit
6b5f025b31
@ -34,6 +34,13 @@ stdenv.mkDerivation rec {
|
||||
./tests-add-test-cases-for-import-without-uid.patch
|
||||
./allow-import-of-previously-known-keys-even-without-UI.patch
|
||||
./accept-subkeys-with-a-good-revocation-but-no-self-sig.patch
|
||||
] ++ lib.optional stdenv.isDarwin [
|
||||
# Remove an innocent warning printed on systems without procfs
|
||||
# https://dev.gnupg.org/T5656
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/Homebrew/formula-patches/890be5f6af88e7913d177af87a50129049e681bb/gnupg/2.3.3-proc-error.patch";
|
||||
sha256 = "sha256-oiTa7Nf+AEmhZ683CJEaCb559PXJ6RpSSgRLpxz4CKU=";
|
||||
})
|
||||
];
|
||||
postPatch = ''
|
||||
sed -i 's,hkps://hkps.pool.sks-keyservers.net,hkps://keys.openpgp.org,g' configure doc/dirmngr.texi doc/gnupg.info-1
|
||||
|
Loading…
Reference in New Issue
Block a user