diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-24 23:56:22 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-24 23:56:22 +0200 |
commit | d5d97b8b57457989ff3a0fa38229a98482d33f65 (patch) | |
tree | 997f4967a5d091d52d679c5736efffea97af4508 /nixops/scripts/setup | |
parent | ea3a7a25ed93f413abc756ed0e1b95db2b1b5027 (diff) | |
download | Nix-d5d97b8b57457989ff3a0fa38229a98482d33f65.tar.gz Nix-d5d97b8b57457989ff3a0fa38229a98482d33f65.tar.zst Nix-d5d97b8b57457989ff3a0fa38229a98482d33f65.zip |
Fix setup script using nixpos_custom
Diffstat (limited to 'nixops/scripts/setup')
-rwxr-xr-x | nixops/scripts/setup | 2 |
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 | |||
94 | fi | 94 | fi |
95 | 95 | ||
96 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | 96 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
97 | source $(dirname $(dirname $DIR))/scripts/nix_env | ||
98 | export NIXOPS_STATE="$(dirname $DIR)/state/eldiron.nixops" | 97 | export NIXOPS_STATE="$(dirname $DIR)/state/eldiron.nixops" |
99 | export NIXOPS_DEPLOYMENT="$DeploymentUuid" | 98 | export NIXOPS_DEPLOYMENT="$DeploymentUuid" |
99 | source $(dirname $(dirname $DIR))/scripts/nix_env | ||
100 | 100 | ||
101 | if ! nixops_custom info 2>/dev/null >/dev/null; then | 101 | if ! nixops_custom info 2>/dev/null >/dev/null; then |
102 | cat <<-EOF | 102 | cat <<-EOF |