0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

Revert "nixos/lib/testing: avoid generating darwin VM tests"

This reverts commit 72155225aa.
This commit is contained in:
Robert Hensing 2025-05-09 16:00:18 +02:00
parent 0719ce0002
commit 18e2327aa7
2 changed files with 8 additions and 12 deletions

View file

@ -36,9 +36,7 @@ in
};
platforms = lib.mkOption {
type = types.listOf types.raw;
# darwin could be added, but it would add VM tests that don't work on Hydra.nixos.org (so far)
# see https://github.com/NixOS/nixpkgs/pull/303597#issuecomment-2128782362
default = lib.platforms.linux;
default = lib.platforms.linux ++ lib.platforms.darwin;
description = ''
Sets the [`meta.platforms`](https://nixos.org/manual/nixpkgs/stable/#var-meta-platforms) attribute on the [{option}`test`](#test-opt-test) derivation.
'';