aboutsummaryrefslogtreecommitdiff
path: root/nixops/scripts/nixops_wrap
diff options
context:
space:
mode:
Diffstat (limited to 'nixops/scripts/nixops_wrap')
-rwxr-xr-xnixops/scripts/nixops_wrap2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixops/scripts/nixops_wrap b/nixops/scripts/nixops_wrap
index 1efe8a9..1de38f5 100755
--- a/nixops/scripts/nixops_wrap
+++ b/nixops/scripts/nixops_wrap
@@ -18,4 +18,6 @@ trap finish EXIT
18pass show "$NIXOPS_CONFIG_PASS_SUBTREE_PATH/NixConfig" >> $TEMP 18pass show "$NIXOPS_CONFIG_PASS_SUBTREE_PATH/NixConfig" >> $TEMP
19nixops set-args --argstr environment "$TEMP" 19nixops set-args --argstr environment "$TEMP"
20 20
21DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
22export NIX_PATH="ssh-config-file=$(dirname $DIR)/ssh/config:nixpkgs=$HOME/.nix-defexpr/channels/immaeNixpkgs"
21nixops "$@" 23nixops "$@"