summaryrefslogtreecommitdiff
path: root/scripts/nix_env
blob: 7fb6646d38d83d84f20b28bc90e36645f77b5637 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/bash

# This will automatically upgrade to latest version at each build
nixpkgs="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz"
nixpkgsPrevious="$nixpkgs"
nixpkgsNext="$nixpkgs"
export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious"