Skip to content

Commit 3936825

Browse files
committed
try all systems with agnostic test
1 parent 2e049a6 commit 3936825

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

flake.nix

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
systems = [
3636
# keep-sorted start
3737
"aarch64-darwin"
38+
"aarch64-linux"
3839
"x86_64-darwin"
40+
"x86_64-linux"
3941
# keep-sorted end
4042
];
4143
perSystem =
@@ -87,7 +89,7 @@
8789
inherit (inputs) nixpkgs flake-parts nix-unit;
8890
};
8991
tests = {
90-
"test example" = {
92+
"test example system-specific" = {
9193
expr = "1";
9294
expected = "1";
9395
};
@@ -105,6 +107,12 @@
105107
'';
106108
};
107109
};
110+
tests = {
111+
"test example system-agnostic" = {
112+
expr = "2";
113+
expected = "2";
114+
};
115+
};
108116
};
109117
};
110118
}

0 commit comments

Comments
 (0)