install-nix-from-closure.sh: Install cacert
This commit is contained in:
parent
50ed345fad
commit
2ea2703fe9
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue