From 2a9489ec0bbca4423389e7eb303a12c1756899b9 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Sat, 20 Jul 2024 19:43:26 +0200 Subject: [PATCH] tests/flake: check flake outputs for all systems Now all `supportedSystems` from flake.nix are checked instead of only the native system of the `nix flake check` process. --- .cirrus.yml | 2 +- test/run-tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 754d0f6..ec1a317 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -34,7 +34,7 @@ task: - name: flake build_script: - - nix flake check + - nix flake check --all-systems - ./test/nixos-search/ci-test.sh - name: shellcheck diff --git a/test/run-tests.sh b/test/run-tests.sh index d76f0a6..09caffe 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -263,7 +263,7 @@ isNixVersionGreaterEqual_2_15() { } flake() { - nix flake check "$scriptDir/.." + nix flake check --all-systems "$scriptDir/.." } # Test generating module documentation for search.nixos.org