1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 19:03:16 +02:00

Add a nix.conf option for allowing a symlinked store

This commit is contained in:
Marwan Aljubeh 2020-09-18 17:10:39 +01:00
parent 958bf57123
commit c00e078343
3 changed files with 15 additions and 1 deletions

View file

@ -41,6 +41,7 @@ Settings::Settings()
{
buildUsersGroup = getuid() == 0 ? "nixbld" : "";
lockCPU = getEnv("NIX_AFFINITY_HACK") == "1";
ignoreSymlinkStore = getEnv("NIX_IGNORE_SYMLINK_STORE") == "1";
caFile = getEnv("NIX_SSL_CERT_FILE").value_or(getEnv("SSL_CERT_FILE").value_or(""));
if (caFile == "") {