disable haskell-based builds on riscv64

fixes https://github.com/nix-community/disko/issues/321
This commit is contained in:
Jörg Thalheim 2023-08-13 19:36:39 +02:00 committed by mergify[bot]
parent 241c878d4b
commit 3ba5bb2de6

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};