diff options
author | tv <tv@shackspace.de> | 2015-10-22 00:49:51 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-10-22 00:49:51 +0200 |
commit | df6f0392cbdf7923537eb5d328bd345cde11eb53 (patch) | |
tree | 4cc646231bca62d46395412bb3048c0654b681fb /krebs | |
parent | 4b8ffc1bfd494de1fafde2527a337ad5eb31a27c (diff) |
krebs.nixos-install: cacert -> /root/SSL_CERT_FILE
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/default.nix b/krebs/default.nix index 40d245f98..31a7f7d04 100644 --- a/krebs/default.nix +++ b/krebs/default.nix @@ -146,8 +146,8 @@ let out = { )} cacert=$(findpkg cacert) coreutils=$(findpkg coreutils) - env="$coreutils/bin/env \ - SSL_CERT_FILE=$cacert/etc/ssl/certs/ca-bundle.crt" + cp "$cacert"/etc/ssl/certs/ca-bundle.crt /mnt/root/SSL_CERT_FILE + env="$coreutils/bin/env SSL_CERT_FILE=/root/SSL_CERT_FILE" sed -i ' s:^NIX_PATH=:chroot $mountPoint '"$env"' &: s:^nix-env:'"$nix_env"': |