diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-29 05:43:36 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-29 05:43:36 +0100 |
commit | a542de1164b0b2ddaa41aef13e7635b891913f86 (patch) | |
tree | eceb927a73a677864247a97cf1539d4bebdb3300 /scripts | |
parent | 3afed4fcd2cd4e4e8ca2979390fef202818be9db (diff) | |
download | Nix-a542de1164b0b2ddaa41aef13e7635b891913f86.tar.gz Nix-a542de1164b0b2ddaa41aef13e7635b891913f86.tar.zst Nix-a542de1164b0b2ddaa41aef13e7635b891913f86.zip |
Make the use of nixpkgs more homogeneous for env
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/make-env | 6 |
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" | ||
5 | nixpkgsNext="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171840.23fd1394dc6/nixexprs.tar.xz" | ||
6 | nixpkgsPrevious="$nixpkgsNext" | ||
7 | nixpkgs="$nixpkgsNext" | ||
8 | export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious" | ||
3 | nix-env -r -i -A immaePackages -f "<nixpkgs>" "$@" | 9 | nix-env -r -i -A immaePackages -f "<nixpkgs>" "$@" |