Merge commit '2e56ba' from staging into master
This commit is contained in:
@@ -52,6 +52,8 @@ stdenv.mkDerivation rec {
|
||||
cp -v ca-bundle.crt $out/etc/ssl/certs
|
||||
'';
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = {
|
||||
homepage = https://curl.haxx.se/docs/caextract.html;
|
||||
description = "A bundle of X.509 certificates of public Certificate Authorities (CA)";
|
||||
|
||||
5
pkgs/data/misc/cacert/setup-hook.sh
Normal file
5
pkgs/data/misc/cacert/setup-hook.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
cacertHook() {
|
||||
export SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt
|
||||
}
|
||||
|
||||
addEnvHooks "$targetOffset" cacertHook
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "iana-etc-${version}";
|
||||
version = "20171106";
|
||||
version = "20180108";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Mic92/iana-etc/releases/download/${version}/iana-etc-${version}.tar.gz";
|
||||
sha256 = "0pbmq95gdkp66cljwklv4gzh8lvl30l4k77hfwvrxz5mfqia6qdd";
|
||||
sha256 = "1x4jacrvjwcsan88rg2wf2a8bajsglg6w4396vbr18zh0sya84a2";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -2,5 +2,4 @@ tzdataHook() {
|
||||
export TZDIR=@out@/share/zoneinfo
|
||||
}
|
||||
|
||||
envHooks+=(tzdataHook)
|
||||
crossEnvHooks+=(tzdataHook)
|
||||
addEnvHooks "$targetOffset" tzdataHook
|
||||
|
||||
Reference in New Issue
Block a user