aboutsummaryrefslogtreecommitdiff
path: root/nixops/scripts/setup
diff options
context:
space:
mode:
Diffstat (limited to 'nixops/scripts/setup')
-rwxr-xr-xnixops/scripts/setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixops/scripts/setup b/nixops/scripts/setup
index cc03482..dce8332 100755
--- a/nixops/scripts/setup
+++ b/nixops/scripts/setup
@@ -94,9 +94,9 @@ if nix show-config --json | jq -e '.sandbox.value == "true"' >/dev/null; then
94fi 94fi
95 95
96DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 96DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
97source $(dirname $(dirname $DIR))/scripts/nix_env
98export NIXOPS_STATE="$(dirname $DIR)/state/eldiron.nixops" 97export NIXOPS_STATE="$(dirname $DIR)/state/eldiron.nixops"
99export NIXOPS_DEPLOYMENT="$DeploymentUuid" 98export NIXOPS_DEPLOYMENT="$DeploymentUuid"
99source $(dirname $(dirname $DIR))/scripts/nix_env
100 100
101if ! nixops_custom info 2>/dev/null >/dev/null; then 101if ! nixops_custom info 2>/dev/null >/dev/null; then
102 cat <<-EOF 102 cat <<-EOF