aboutsummaryrefslogtreecommitdiff
path: root/nixops/scripts/pull_deployment
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-27 14:36:33 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-27 14:36:33 +0200
commit11234d0798eeb56b2a09bfc66925e782ace465e3 (patch)
treea0f00c1f7b9b9aaa168763339dc703e0fc5569dc /nixops/scripts/pull_deployment
parent941bfb6ff039b6bfd94cc5aec8a0ef6dd1b82f36 (diff)
downloadNix-11234d0798eeb56b2a09bfc66925e782ace465e3.tar.gz
Nix-11234d0798eeb56b2a09bfc66925e782ace465e3.tar.zst
Nix-11234d0798eeb56b2a09bfc66925e782ace465e3.zip
Source environemnt before building nixops in scripts
Diffstat (limited to 'nixops/scripts/pull_deployment')
-rwxr-xr-xnixops/scripts/pull_deployment1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixops/scripts/pull_deployment b/nixops/scripts/pull_deployment
index d238434..2fc07bc 100755
--- a/nixops/scripts/pull_deployment
+++ b/nixops/scripts/pull_deployment
@@ -8,6 +8,7 @@ if [ -z "$NIXOPS_CONFIG_PASS_SUBTREE_PATH" ]; then
8fi 8fi
9 9
10DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 10DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
11source $(dirname $(dirname $DIR))/nix_path_env
11nixops="$(nix-build --no-out-link -A nixops "$(dirname $(dirname $DIR))")/bin/nixops" 12nixops="$(nix-build --no-out-link -A nixops "$(dirname $(dirname $DIR))")/bin/nixops"
12export NIXOPS_STATE="$(dirname $DIR)/state/eldiron.nixops" 13export NIXOPS_STATE="$(dirname $DIR)/state/eldiron.nixops"
13 14