Fix: clnixos-integration tests only work on linux
This commit is contained in:
@@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user