aboutsummaryrefslogtreecommitdiff
path: root/scripts/make-env
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-04 13:03:39 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-04 13:03:39 +0200
commit431759ea54b401d9f2eb74af5a9302691996b069 (patch)
tree60e1dd618f74dd920e6b76bd056fa289b332d06e /scripts/make-env
parent267e5ce7c38b8f45b8400adc4e21c3cf705b4b6a (diff)
downloadNix-431759ea54b401d9f2eb74af5a9302691996b069.tar.gz
Nix-431759ea54b401d9f2eb74af5a9302691996b069.tar.zst
Nix-431759ea54b401d9f2eb74af5a9302691996b069.zip
Upgrade to latest 19.03
Diffstat (limited to 'scripts/make-env')
-rwxr-xr-xscripts/make-env9
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 3DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
4# nixpkgsNext="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz" 4
5nixpkgsNext="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171840.23fd1394dc6/nixexprs.tar.xz" 5source $(dirname $DIR)/nix_path_env
6nixpkgsPrevious="$nixpkgsNext"
7nixpkgs="$nixpkgsNext"
8export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious"
9nix-env -r -i -A immaePackages -f "<nixpkgs>" "$@" 6nix-env -r -i -A immaePackages -f "<nixpkgs>" "$@"