From 8dba50616c4850334706dff475e60cb5b999bf3d Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Mon, 13 Jul 2020 20:26:28 -0400 Subject: [PATCH] build.sh: Now track unstable This is a moving target, but ugh, it seems all choices are unfulfilling. --- build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 1abdc2c..14ffdea 100755 --- a/build.sh +++ b/build.sh @@ -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 "$@"