varnish70: fix build on darwin

This commit is contained in:
ajs124 2021-09-30 20:26:25 +02:00
parent 145f628f69
commit 3a9ffac149

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pcre, pcre2, libxslt, groff, ncurses, pkg-config, readline, libedit, coreutils { lib, stdenv, fetchurl, fetchpatch, pcre, pcre2, libxslt, groff, ncurses, pkg-config, readline, libedit, coreutils
, python3, makeWrapper }: , python3, makeWrapper }:
let let
@ -50,8 +50,15 @@ in
version = "6.0.8"; version = "6.0.8";
sha256 = "1zk83hfxgjq1d0n4zx86q3f05y9f2zc6a1miz1zcvfa052q4bljx"; sha256 = "1zk83hfxgjq1d0n4zx86q3f05y9f2zc6a1miz1zcvfa052q4bljx";
}; };
varnish70 = common { varnish70 = (common {
version = "7.0.0"; version = "7.0.0";
sha256 = "11z0pa618lh925ih67wmp1gqk7i46l486j4spjy71g1n3w5mqylc"; sha256 = "11z0pa618lh925ih67wmp1gqk7i46l486j4spjy71g1n3w5mqylc";
}; }).overrideAttrs (oA: {
patches = [
(fetchpatch {
url = "https://github.com/varnishcache/varnish-cache/commit/20e007a5b17c1f68f70ab42080de384f9e192900.patch";
sha256 = "0vvihbjknb0skdv2ksn2lz89pwmn4f2rjmb6q65cvgnnjfj46s82";
})
];
});
} }