mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
make tests risv64 compatible
This commit is contained in:
1 parent
3ba5bb2de6
commit
358b87fd44
2 files changed
+4
-2
No files matched your search
+3
-1
@@ -12,7 +12,9 @@ let
|
||||
(x: lib.hasSuffix ".nix" x && x != "default.nix")
|
||||
(lib.attrNames (builtins.readDir ./.))
|
||||
);
|
||||
incompatibleTests = lib.optionals pkgs.buildPlatform.isRiscV64 [ "zfs" "zfs-over-legacy" "cli" ];
|
||||
allCompatibleFilenames = lib.subtractLists incompatibleTests allTestFilenames;
|
||||
|
||||
allTests = lib.genAttrs allTestFilenames (test: import (./. + "/${test}.nix") { inherit diskoLib pkgs; });
|
||||
allTests = lib.genAttrs allCompatibleFilenames (test: import (./. + "/${test}.nix") { inherit diskoLib pkgs; });
|
||||
in
|
||||
allTests
|
||||
Reference in new issue
Block a user