libgcrypt: patch !isLinux builds after update
https://hydra.nixos.org/log/yasak2xgzs3ny45hbbm0768kv70sfm2s-libgcrypt-1.10.2.drv
This commit is contained in:
parent
307c3bdd0f
commit
a2b4fe3b83
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, gettext
|
||||
, libgpg-error
|
||||
, enableCapabilities ? false, libcap
|
||||
@ -22,6 +23,14 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-O5wCoAS2jCVq3ZlwHeALODrMzPNxd+DWxYKJZkzODAM=";
|
||||
};
|
||||
|
||||
patches = lib.optionals (!stdenv.isLinux) [ # not everywhere to avoid rebuild for now
|
||||
(fetchpatch {
|
||||
name = "getrandom-conditionalize.patch";
|
||||
url = "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff_plain;h=d41177937cea4aa1e9042ebcd195a349c40e8071";
|
||||
hash = "sha256-CgQjNtC1qLe5LicIc8rESc6Z1u4fk7ErMUVcG/2G9gM=";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" "info" ];
|
||||
outputBin = "dev";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user