krebs.nixos-install: cacert -> /root/SSL_CERT_FILE
This commit is contained in:
parent
4b8ffc1bfd
commit
df6f0392cb
@ -146,8 +146,8 @@ let out = {
|
|||||||
)}
|
)}
|
||||||
cacert=$(findpkg cacert)
|
cacert=$(findpkg cacert)
|
||||||
coreutils=$(findpkg coreutils)
|
coreutils=$(findpkg coreutils)
|
||||||
env="$coreutils/bin/env \
|
cp "$cacert"/etc/ssl/certs/ca-bundle.crt /mnt/root/SSL_CERT_FILE
|
||||||
SSL_CERT_FILE=$cacert/etc/ssl/certs/ca-bundle.crt"
|
env="$coreutils/bin/env SSL_CERT_FILE=/root/SSL_CERT_FILE"
|
||||||
sed -i '
|
sed -i '
|
||||||
s:^NIX_PATH=:chroot $mountPoint '"$env"' &:
|
s:^NIX_PATH=:chroot $mountPoint '"$env"' &:
|
||||||
s:^nix-env:'"$nix_env"':
|
s:^nix-env:'"$nix_env"':
|
||||||
|
Loading…
Reference in New Issue
Block a user