aboutsummaryrefslogtreecommitdiff
path: root/scripts/make-env
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-29 05:43:36 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-29 05:43:36 +0100
commita542de1164b0b2ddaa41aef13e7635b891913f86 (patch)
treeeceb927a73a677864247a97cf1539d4bebdb3300 /scripts/make-env
parent3afed4fcd2cd4e4e8ca2979390fef202818be9db (diff)
downloadNix-a542de1164b0b2ddaa41aef13e7635b891913f86.tar.gz
Nix-a542de1164b0b2ddaa41aef13e7635b891913f86.tar.zst
Nix-a542de1164b0b2ddaa41aef13e7635b891913f86.zip
Make the use of nixpkgs more homogeneous for env
Diffstat (limited to 'scripts/make-env')
-rwxr-xr-xscripts/make-env6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/make-env b/scripts/make-env
index ec10865..4dd89b7 100755
--- a/scripts/make-env
+++ b/scripts/make-env
@@ -1,3 +1,9 @@
1#!/bin/bash 1#!/bin/bash
2 2
3# This will automatically upgrade to latest version at each build
4# nixpkgsNext="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz"
5nixpkgsNext="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171840.23fd1394dc6/nixexprs.tar.xz"
6nixpkgsPrevious="$nixpkgsNext"
7nixpkgs="$nixpkgsNext"
8export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious"
3nix-env -r -i -A immaePackages -f "<nixpkgs>" "$@" 9nix-env -r -i -A immaePackages -f "<nixpkgs>" "$@"