disable haskell-based builds on riscv64

fixes https://github.com/nix-community/disko/issues/321
This commit is contained in:
Jörg Thalheim authored and mergify[bot] committed 2023-08-13 17:41:12 +00:00
1 parent 241c878d4b
commit 3ba5bb2de6
1 file changed
+3 -2
+3 -2
View File
@@ -28,8 +28,9 @@
in
{
disko = pkgs.callPackage ./package.nix { };
disko-doc = pkgs.callPackage ./doc.nix { };
default = self.packages.${system}.disko;
} // pkgs.lib.optionalAttrs (!pkgs.buildPlatform.isRiscV64) {
disko-doc = pkgs.callPackage ./doc.nix { };
});
# TODO: disable bios-related tests on aarch64...
# Run checks: nix flake check -L
@@ -47,7 +48,7 @@
touch $out
'';
in
nixosTests // { inherit shellcheck; });
nixosTests // pkgs.lib.optionalAttrs (!pkgs.buildPlatform.isRiscV64) { inherit shellcheck; });
formatter = forAllSystems (system:
let
pkgs = nixpkgs.legacyPackages.${system};