aboutsummaryrefslogtreecommitdiff
path: root/nixops/scripts/setup
diff options
context:
space:
mode:
Diffstat (limited to 'nixops/scripts/setup')
-rwxr-xr-xnixops/scripts/setup8
1 files changed, 6 insertions, 2 deletions
diff --git a/nixops/scripts/setup b/nixops/scripts/setup
index dce8332..793b7c3 100755
--- a/nixops/scripts/setup
+++ b/nixops/scripts/setup
@@ -82,15 +82,19 @@ done
82 82
83if nix show-config --json | jq -e '.sandbox.value == "true"' >/dev/null; then 83if nix show-config --json | jq -e '.sandbox.value == "true"' >/dev/null; then
84 cat <<-EOF 84 cat <<-EOF
85 There are some impure derivations in the repo currently (grep __noChroot), please put 85 There used to be some impure derivations (grep __noChroot), you may need
86 sandbox = "relaxed" 86 sandbox = "relaxed"
87 in /etc/nix/nix.conf 87 in /etc/nix/nix.conf
88 you may also want to add 88 you may also want to add
89 keep-outputs = true 89 keep-outputs = true
90 keep-derivations = true 90 keep-derivations = true
91 to prevent garbage collector from deleting build dependencies (they take a lot of time to build) 91 to prevent garbage collector from deleting build dependencies (they take a lot of time to build)
92 and
93 allow-import-from-derivation = false
94 as an attempt to avoid having build-time derivations (doesn’t work for all packages)
95 press key to continue
92 EOF 96 EOF
93 exit 1 97 read y
94fi 98fi
95 99
96DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 100DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"