aboutsummaryrefslogtreecommitdiff
path: root/nixops/scripts/setup
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-25 14:12:07 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-25 14:19:55 +0200
commite83ec9612cf3dd7ecb4348c5b186cd0626a6d801 (patch)
tree1a998131e45e3f543a58a053bd5acd3ce7221517 /nixops/scripts/setup
parent06467acff2ebb98422493001d79d6953e224f677 (diff)
downloadNix-e83ec9612cf3dd7ecb4348c5b186cd0626a6d801.tar.gz
Nix-e83ec9612cf3dd7ecb4348c5b186cd0626a6d801.tar.zst
Nix-e83ec9612cf3dd7ecb4348c5b186cd0626a6d801.zip
Upgrade pgloader and remove noChroot need
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 )"