Commit 8c9fc4a7 authored by Robert Hensing's avatar Robert Hensing
Browse files

nixos/all-tests: Set hydraPlatforms



This only sets hydraPlatforms for the in-tree tests.
See the preceding revert commit which reverts the previous solution.

Co-Authored-By: default avatarVladimír Čunát <v@cunat.cz>
parent 51d915e4
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -90,12 +90,22 @@ let

  inherit
    (rec {

      metaModule = {
        _file = "${__curPos.file}##metaModule";
        meta = {
          # Infra issue: virtualization on darwin doesn't seem to work yet.
          hydraPlatforms = platforms.linux;
        };
      };

      doRunTest =
        arg:
        ((import ../lib/testing-python.nix { inherit system pkgs; }).evalTest {
          imports = [
            arg
            readOnlyPkgs
            metaModule
          ];
        }).config.result;
      findTests =