diff options
Diffstat (limited to 'nix_path_env')
-rw-r--r-- | nix_path_env | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/nix_path_env b/nix_path_env index 7ded4ac..8e4c84d 100644 --- a/nix_path_env +++ b/nix_path_env | |||
@@ -1,9 +1,12 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | # This will automatically upgrade to latest version at each build | 3 | if [ -z "$NIXOPS_DEPLOYMENT" ]; then |
4 | # nixpkgs="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz" | 4 | # This will automatically upgrade to latest version at each build |
5 | nixpkgs="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171931.3a4ffdd38b5/nixexprs.tar.xz" | 5 | nixpkgs="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz" |
6 | nixpkgsPrevious="$nixpkgs" | 6 | else |
7 | nixpkgs="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171931.3a4ffdd38b5/nixexprs.tar.xz" | ||
8 | fi | ||
9 | nixpkgsPrevious="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171931.3a4ffdd38b5/nixexprs.tar.xz" | ||
7 | nixpkgsNext="$nixpkgs" | 10 | nixpkgsNext="$nixpkgs" |
8 | export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious" | 11 | export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious" |
9 | 12 | ||