Fix: clnixos-integration tests only work on linux

This commit is contained in:
Johannes Kirschbauer
2025-04-22 14:55:42 +02:00
parent 999c47dbed
commit a6d7c491e4

View File

@@ -41,10 +41,14 @@ in
2. To run the test 2. To run the test
nix build .#checks.x86_64-linux.hello-service nix build .#checks.x86_64-linux.hello-service
*/ */
checks.hello-service = import ./tests/vm/default.nix { 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 module;
inherit self inputs pkgs; inherit self inputs pkgs;
clanLib = self.clanLib; clanLib = self.clanLib;
}; };
}; };
};
} }