From 2ea2703fe987d57ff189d7a924c64f03f65170c1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 29 Jul 2014 17:12:15 +0200 Subject: [PATCH] install-nix-from-closure.sh: Install cacert --- scripts/install-nix-from-closure.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install-nix-from-closure.sh b/scripts/install-nix-from-closure.sh index 5770c7366..0a2890eee 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