build.sh: Now track unstable

This is a moving target, but ugh, it seems all choices are unfulfilling.
This commit is contained in:
Samuel Dionne-Riel 2020-07-13 20:26:28 -04:00
parent 683a6f6153
commit 8dba50616c
1 changed files with 5 additions and 2 deletions

View File

@ -9,5 +9,8 @@ PS4=" $ "
# way to go.
set -x
exec env -i NIXPKGS_ALLOW_UNFREE=1 NIX_PATH="nixpkgs=channel:nixos-19.09" nix-build \
system.nix -A config.system.build.sdImage "$@"
exec env -i \
NIXPKGS_ALLOW_UNFREE=1 \
NIX_PATH="nixpkgs=channel:nixos-unstable" \
"$(command -v nix-build)" \
system.nix -A config.system.build.sdImage "$@"