diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-14 23:05:17 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-14 23:05:17 +0200 |
commit | bf74850963eeba3efc755bb517aba0197df80493 (patch) | |
tree | e697b7cd31b11f466aef65eb097eeccc3e4a8629 /nix_path_env | |
parent | 71daa0766ee1eaab78e77f007ee1a5494b5132ab (diff) | |
download | Nix-bf74850963eeba3efc755bb517aba0197df80493.tar.gz Nix-bf74850963eeba3efc755bb517aba0197df80493.tar.zst Nix-bf74850963eeba3efc755bb517aba0197df80493.zip |
Upgrade nixpkgs for env
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 | ||