mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
tzdata: disable network access
Without the change tests fail on darwin as https://hydra.nixos.org/build/272249259/nixlog/164/tail: curl: (77) error setting certificate file: /no-cert-file.crt Possibly because `stdenv` has `curl` there. Upstream suggests disabling networking access with `CURL=:`. Let's use that.
This commit is contained in:
parent
457fc3f13f
commit
eff4e92382
@ -34,6 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"LIBDIR=${placeholder "dev"}/lib"
|
||||
"MANDIR=${placeholder "man"}/share/man"
|
||||
"AWK=awk"
|
||||
"CURL=:" # disable network access
|
||||
"CFLAGS=-DHAVE_LINK=0"
|
||||
"CFLAGS+=-DZIC_BLOAT_DEFAULT=\\\"fat\\\""
|
||||
"cc=${stdenv.cc.targetPrefix}cc"
|
||||
|
Loading…
Reference in New Issue
Block a user