diff options
Diffstat (limited to 'nixops')
-rwxr-xr-x | nixops/scripts/nixops_wrap | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/nixops/scripts/nixops_wrap b/nixops/scripts/nixops_wrap index bf41e81..2094924 100755 --- a/nixops/scripts/nixops_wrap +++ b/nixops/scripts/nixops_wrap | |||
@@ -28,10 +28,6 @@ for file in $files; do | |||
28 | done | 28 | done |
29 | nixops set-args --argstr privateFiles "$TEMP" | 29 | nixops set-args --argstr privateFiles "$TEMP" |
30 | 30 | ||
31 | # This will automatically upgrade to latest version at each build | 31 | source $(dirname $(dirname $DIR))/nix_path_env |
32 | # nixpkgs="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz" | 32 | export NIX_PATH="ssh-config-file=$(dirname $DIR)/ssh/config:$NIX_PATH" |
33 | nixpkgs="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171840.23fd1394dc6/nixexprs.tar.xz" | ||
34 | nixpkgsPrevious="$nixpkgs" | ||
35 | nixpkgsNext="$nixpkgs" | ||
36 | export NIX_PATH="ssh-config-file=$(dirname $DIR)/ssh/config:nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious" | ||
37 | nixops "$@" | 33 | nixops "$@" |