mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-09-21 15:49:12 +00:00
refactor: document ssl-cert-file vs NIX_SSL_CERT_FILE
This commit is contained in:
parent
d914f6d9e8
commit
581a134122
1 changed files with 3 additions and 2 deletions
|
@ -26,12 +26,13 @@ trap 'rm -rf "$workdir"' EXIT
|
|||
|
||||
# Configure Nix
|
||||
add_config() {
|
||||
echo "$1" >> "$workdir/nix.conf"
|
||||
echo "$1" >>"$workdir/nix.conf"
|
||||
}
|
||||
add_config "show-trace = true"
|
||||
# Set jobs to number of cores
|
||||
add_config "max-jobs = auto"
|
||||
# TODO: is this still necessary if we set NIX_SSL_CERT_FILE below?
|
||||
# Configure the nix-daemon to use certificates.
|
||||
# In multi-user installs, NIX_SSL_CERT_FILE only works if set in the daemon's service file.
|
||||
if [[ $OSTYPE =~ darwin ]]; then
|
||||
add_config "ssl-cert-file = /etc/ssl/cert.pem"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue