mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-08 11:39:11 +00:00
Set SSL_CERT_FILE by setup hook rather than explicit
This commit is contained in:
parent
b40e660f51
commit
564d1edc26
1 changed files with 5 additions and 2 deletions
|
@ -55,11 +55,14 @@ let
|
|||
name = "${baseNameOf goPackagePath}_${version}";
|
||||
builder = ./fetch.sh;
|
||||
inherit goPackagePath version;
|
||||
nativeBuildInputs = [ go jq ];
|
||||
nativeBuildInputs = [
|
||||
go
|
||||
jq
|
||||
cacert
|
||||
];
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo = null;
|
||||
outputHash = hash;
|
||||
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
impureEnvVars = fetchers.proxyImpureEnvVars ++ [ "GOPROXY" ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue