about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-29T15·12+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-29T15·12+0200
commit2ea2703fe987d57ff189d7a924c64f03f65170c1 (patch)
tree257893403f0e880de6fc37bd2020f80fcaf066c5 /scripts
parent50ed345fad74ec48d88393fc53e879de162d0192 (diff)
install-nix-from-closure.sh: Install cacert
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install-nix-from-closure.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/install-nix-from-closure.sh b/scripts/install-nix-from-closure.sh
index 5770c7366140..0a2890eeed95 100644
--- a/scripts/install-nix-from-closure.sh
+++ b/scripts/install-nix-from-closure.sh
@@ -77,6 +77,9 @@ if ! $nix/bin/nix-channel --list | grep -q "^nixpkgs "; then
 fi
 $nix/bin/nix-channel --update nixpkgs
 
+# Install an SSL certificate bundle.
+$nix/bin/nix-env -iA nixpkgs.cacert || true
+
 # Make the shell source nix.sh during login.
 p=$NIX_LINK/etc/profile.d/nix.sh