From d8f48a208029ed33aea16c3b88523b5eff083c99 Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Mon, 17 Jun 2024 16:34:55 -0700 Subject: [PATCH 1/2] lib.systems.flakeExposed: exclude systems which are not bootstrapped (cherry picked from commit ecf68270492148d085169a1f1e86b4e8a7ace7f9) --- lib/systems/flake-systems.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/systems/flake-systems.nix b/lib/systems/flake-systems.nix index b1988c6a4fbb0..a68580ff1407b 100644 --- a/lib/systems/flake-systems.nix +++ b/lib/systems/flake-systems.nix @@ -16,12 +16,12 @@ "armv6l-linux" "armv7l-linux" "i686-linux" - "mipsel-linux" + # "mipsel-linux" is excluded because it is not bootstrapped # Other platforms with sufficient support in stdenv which is not formally # mandated by their platform tier. "aarch64-darwin" - "armv5tel-linux" + # "armv5tel-linux" is excluded because it is not bootstrapped "powerpc64le-linux" "riscv64-linux" From 366e74c75e827b7794e91226b5082123f2e13a81 Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Mon, 17 Jun 2024 16:35:20 -0700 Subject: [PATCH 2/2] flake.nix: remove power64 from from nixos check due to broken package (cherry picked from commit 4bf6540ad360be112b33c06502f06ef061a26a00) --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 43c9f00dea304..768387565bb50 100644 --- a/flake.nix +++ b/flake.nix @@ -46,7 +46,8 @@ checks = forAllSystems (system: { tarball = jobs.${system}.tarball; - } // lib.optionalAttrs (self.legacyPackages.${system}.stdenv.isLinux) { + # Exclude power64 due to "libressl is not available on the requested hostPlatform" with hostPlatform being power64 + } // lib.optionalAttrs (self.legacyPackages.${system}.stdenv.isLinux && !self.legacyPackages.${system}.targetPlatform.isPower64) { # Test that ensures that the nixosSystem function can accept a lib argument # Note: prefer not to extend or modify `lib`, especially if you want to share reusable modules # alternatives include: `import` a file, or put a custom library in an option or in `_module.args.`