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 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 =
inherit module; # Currently we don't support nixos-integration tests on darwin
inherit self inputs pkgs; lib.optionalAttrs (pkgs.stdenv.isLinux) {
clanLib = self.clanLib; hello-service = import ./tests/vm/default.nix {
}; inherit module;
inherit self inputs pkgs;
clanLib = self.clanLib;
};
};
}; };
} }