diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-04 13:03:39 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-04 13:03:39 +0200 |
commit | 431759ea54b401d9f2eb74af5a9302691996b069 (patch) | |
tree | 60e1dd618f74dd920e6b76bd056fa289b332d06e /scripts/make-env | |
parent | 267e5ce7c38b8f45b8400adc4e21c3cf705b4b6a (diff) | |
download | Nix-431759ea54b401d9f2eb74af5a9302691996b069.tar.gz Nix-431759ea54b401d9f2eb74af5a9302691996b069.tar.zst Nix-431759ea54b401d9f2eb74af5a9302691996b069.zip |
Upgrade to latest 19.03
Diffstat (limited to 'scripts/make-env')
-rwxr-xr-x | scripts/make-env | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/make-env b/scripts/make-env index 4dd89b7..415bd5b 100755 --- a/scripts/make-env +++ b/scripts/make-env | |||
@@ -1,9 +1,6 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | # This will automatically upgrade to latest version at each build | 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
4 | # nixpkgsNext="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz" | 4 | |
5 | nixpkgsNext="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171840.23fd1394dc6/nixexprs.tar.xz" | 5 | source $(dirname $DIR)/nix_path_env |
6 | nixpkgsPrevious="$nixpkgsNext" | ||
7 | nixpkgs="$nixpkgsNext" | ||
8 | export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious" | ||
9 | nix-env -r -i -A immaePackages -f "<nixpkgs>" "$@" | 6 | nix-env -r -i -A immaePackages -f "<nixpkgs>" "$@" |