Skip to content

Commit 25326f2

Browse files
authored
Merge pull request #140 from mlabs-haskell/aciceri/bump-flake-inputs
Bump flake inputs
2 parents c844403 + 1ee34ff commit 25326f2

File tree

7 files changed

+185
-1277
lines changed

7 files changed

+185
-1277
lines changed

checks/vmTests.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,12 @@ in
121121
};
122122

123123
config = {
124-
checks = mapAttrs' (name: test: nameValuePair "vmTests-${test.name}" test.check) (lib.filterAttrs (_: v: lib.elem system v.systems && !v.impure) cfg.tests);
124+
checks = mapAttrs' (_name: test: nameValuePair "vmTests-${test.name}" test.check) (lib.filterAttrs (_: v: lib.elem system v.systems && !v.impure) cfg.tests);
125125

126126
apps = {
127127
run-vm-tests.program = lib.getExe cfg.runVmTestScript;
128-
} // mapAttrs' (name: test: nameValuePair "vmTests-${test.name}" { program = "${test.check.driver}/bin/nixos-test-driver"; }) (lib.filterAttrs (_: v: lib.elem system v.systems) cfg.tests);
128+
}
129+
// mapAttrs' (_name: test: nameValuePair "vmTests-${test.name}" { program = "${test.check.driver}/bin/nixos-test-driver"; }) (lib.filterAttrs (_: v: lib.elem system v.systems) cfg.tests);
129130

130131
devshells.default.commands = [
131132
{
@@ -138,5 +139,5 @@ in
138139
};
139140
};
140141

141-
herculesCI.onPush.default.outputs.effects = mapAttrs' (name: test: nameValuePair "vmTests-${test.name}" test.effect) (lib.filterAttrs (_: v: lib.elem config.defaultEffectSystem v.systems && v.impure) (config.perSystem config.defaultEffectSystem).vmTests.tests);
142+
herculesCI.onPush.default.outputs.effects = mapAttrs' (_name: test: nameValuePair "vmTests-${test.name}" test.effect) (lib.filterAttrs (_: v: lib.elem config.defaultEffectSystem v.systems && v.impure) (config.perSystem config.defaultEffectSystem).vmTests.tests);
142143
}

0 commit comments

Comments
 (0)