install-nix-from-closure.sh: Install cacert

This commit is contained in:
Eelco Dolstra 2014-07-29 17:12:15 +02:00
parent 50ed345fad
commit 2ea2703fe9

View file

@ -77,6 +77,9 @@ if ! $nix/bin/nix-channel --list | grep -q "^nixpkgs "; then
fi fi
$nix/bin/nix-channel --update nixpkgs $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. # Make the shell source nix.sh during login.
p=$NIX_LINK/etc/profile.d/nix.sh p=$NIX_LINK/etc/profile.d/nix.sh