Fix: clnixos-integration tests only work on linux

This commit is contained in:
Johannes Kirschbauer
2025-04-22 14:55:42 +02:00
parent 0756baa5dc
commit cab5d162f6

View File

@@ -41,10 +41,14 @@ in
2. To run the test
nix build .#checks.x86_64-linux.hello-service
*/
checks.hello-service = import ./tests/vm/default.nix {
inherit module;
inherit self inputs pkgs;
clanLib = self.clanLib;
};
checks =
# Currently we don't support nixos-integration tests on darwin
lib.optionalAttrs (pkgs.stdenv.isLinux) {
hello-service = import ./tests/vm/default.nix {
inherit module;
inherit self inputs pkgs;
clanLib = self.clanLib;
};
};
};
}