From 5affbf3a9b76c76aef7adb1a716f4bc27ce98351 Mon Sep 17 00:00:00 2001 From: tdro Date: Fri, 14 Jan 2022 18:01:51 -0500 Subject: .local/bin/nixos-test: Allow unsupported systems --- .local/bin/nixos-test | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.local/bin/nixos-test b/.local/bin/nixos-test index d5e4cfa..e87bd9e 100755 --- a/.local/bin/nixos-test +++ b/.local/bin/nixos-test @@ -23,8 +23,12 @@ for configuration in "$@"; do printf '%s ' "$configuration"; - export NIXPKGS_ALLOW_UNFREE=1 - export NIXOS_CONFIG=$(realpath "$configuration") + NIXOS_CONFIG=$(realpath "$configuration") + + export NIXOS_CONFIG \ + NIXPKGS_ALLOW_UNFREE=1 \ + NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 + nixos-rebuild --fast --option substituters 'https://cache.nixos.org' dry-build done; -- cgit v1.2.3