aboutsummaryrefslogtreecommitdiff
path: root/scripts/make-env
blob: 4dd89b7086d930d92a085b69a5dc39863e416b57 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/bash

# This will automatically upgrade to latest version at each build
# nixpkgsNext="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz"
nixpkgsNext="https://releases.nixos.org/nixos/19.03/nixos-19.03beta171840.23fd1394dc6/nixexprs.tar.xz"
nixpkgsPrevious="$nixpkgsNext"
nixpkgs="$nixpkgsNext"
export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious"
nix-env -r -i -A immaePackages -f "<nixpkgs>" "$@"