mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
disable haskell-based builds on riscv64
fixes https://github.com/nix-community/disko/issues/321
This commit is contained in:
1 parent
241c878d4b
commit
3ba5bb2de6
1 file changed
+3
-2
@@ -28,8 +28,9 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
disko = pkgs.callPackage ./package.nix { };
|
disko = pkgs.callPackage ./package.nix { };
|
||||||
disko-doc = pkgs.callPackage ./doc.nix { };
|
|
||||||
default = self.packages.${system}.disko;
|
default = self.packages.${system}.disko;
|
||||||
|
} // pkgs.lib.optionalAttrs (!pkgs.buildPlatform.isRiscV64) {
|
||||||
|
disko-doc = pkgs.callPackage ./doc.nix { };
|
||||||
});
|
});
|
||||||
# TODO: disable bios-related tests on aarch64...
|
# TODO: disable bios-related tests on aarch64...
|
||||||
# Run checks: nix flake check -L
|
# Run checks: nix flake check -L
|
||||||
@@ -47,7 +48,7 @@
|
|||||||
touch $out
|
touch $out
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
nixosTests // { inherit shellcheck; });
|
nixosTests // pkgs.lib.optionalAttrs (!pkgs.buildPlatform.isRiscV64) { inherit shellcheck; });
|
||||||
formatter = forAllSystems (system:
|
formatter = forAllSystems (system:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
|||||||
Reference in new issue
Block a user