mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
fetchdarcs: Use NIX_SSL_CERT_FILE
`SSL_CERT_FILE` has been replaced with `NIX_SSL_CERT_FILE`. Before this change using `fetchdarcs` resulted in an error message like: ``` Identifying repository http://hub.darcs.net/scravy/easyplot inventory darcs failed: Not a repository: http://hub.darcs.net/scravy/easyplot (Peer certificate cannot be authenticated with given CA certificates) HINT: Do you have the right URI for the repository? builder for ‘/nix/store/imyvcs6lvb5yva66krc5wk39931sam8v-fetchdarcs.drv’ failed with exit code 2 ```
This commit is contained in:
parent
045515a54a
commit
a81f45386b
@ -7,7 +7,7 @@ if md5 != "" then
|
|||||||
else
|
else
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "fetchdarcs";
|
name = "fetchdarcs";
|
||||||
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
|
NIX_SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
buildInputs = [darcs];
|
buildInputs = [darcs];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user