diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-09-22 13:19:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 13:19:22 +0200 |
commit | 5b107f2c5f5bb86042f9f65b022cf0ed0bfaccbd (patch) | |
tree | 6d51cd7a13ff30599d1087d01ff89fe7d8e1ba8f /src/libstore/globals.cc | |
parent | 35a0ac183858ecb03e313e088562c84fe211e20d (diff) | |
parent | f80ffeb8c9291f7168f098fdaadc15408492f3c2 (diff) |
Merge pull request #4038 from maljub01/master
Add a nix.conf option for allowing a symlinked store
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r-- | src/libstore/globals.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index f94d97cc8..c5734852d 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -42,6 +42,7 @@ Settings::Settings() { buildUsersGroup = getuid() == 0 ? "nixbld" : ""; lockCPU = getEnv("NIX_AFFINITY_HACK") == "1"; + allowSymlinkedStore = getEnv("NIX_IGNORE_SYMLINK_STORE") == "1"; caFile = getEnv("NIX_SSL_CERT_FILE").value_or(getEnv("SSL_CERT_FILE").value_or("")); if (caFile == "") { |