summary refs log tree commit diff
path: root/pkgs/build-support/fetchdarcs/default.nix
diff options
context:
space:
mode:
authorJoe Hermaszewski <github@sub.monoid.al>2017-06-03 20:35:37 +0100
committerGitHub <noreply@github.com>2017-06-03 20:35:37 +0100
commita81f45386b21b3c430f94c2ad5c5e1f7c58cbef2 (patch)
tree4554099cf29e7121c936070a711d568bbed70acb /pkgs/build-support/fetchdarcs/default.nix
parent045515a54a25a30e98b4c1f8f7945473930be2dc (diff)
downloadnixpkgs-a81f45386b21b3c430f94c2ad5c5e1f7c58cbef2.tar
nixpkgs-a81f45386b21b3c430f94c2ad5c5e1f7c58cbef2.tar.gz
nixpkgs-a81f45386b21b3c430f94c2ad5c5e1f7c58cbef2.tar.bz2
nixpkgs-a81f45386b21b3c430f94c2ad5c5e1f7c58cbef2.tar.lz
nixpkgs-a81f45386b21b3c430f94c2ad5c5e1f7c58cbef2.tar.xz
nixpkgs-a81f45386b21b3c430f94c2ad5c5e1f7c58cbef2.tar.zst
nixpkgs-a81f45386b21b3c430f94c2ad5c5e1f7c58cbef2.zip
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
```
Diffstat (limited to 'pkgs/build-support/fetchdarcs/default.nix')
-rw-r--r--pkgs/build-support/fetchdarcs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchdarcs/default.nix b/pkgs/build-support/fetchdarcs/default.nix
index c28cc35219c..2df1b136c55 100644
--- a/pkgs/build-support/fetchdarcs/default.nix
+++ b/pkgs/build-support/fetchdarcs/default.nix
@@ -7,7 +7,7 @@ if md5 != "" then
 else
 stdenv.mkDerivation {
   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;
   buildInputs = [darcs];