git.iko.soy/typeable/nixpkgs
on master help sign in
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 ```

commita81f45386b21b3c430f94c2ad5c5e1f7c58cbef2 authorJoe Hermaszewski <github@sub.monoid.al> dateSat 3 Jun 2017, 20:35 (9 years ago) parent045515a
1 file changed+1−1
pkgs/build-support/fetchdarcs/default.nix+1−1
pkgs/build-support/fetchdarcs/default.nix+1−1
@@ -7,7 +7,7 @@ if md5 != "" then
77else
88stdenv.mkDerivation {
99 name = "fetchdarcs";
10− SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
10+ NIX_SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
1111 builder = ./builder.sh;
1212 buildInputs = [darcs];
1313