Unverified Commit ae77e2fb authored by talyz's avatar talyz
Browse files

discourse: Forward the used system and pkgs attributes to the tests

The system attribute is otherwise deduced from the system the
evaluation runs on, which could be incorrect if using remote
builders.
parent 1138af56
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -313,7 +313,11 @@ let
      enabledPlugins = plugins;
      plugins = callPackage ./plugins/all-plugins.nix { inherit mkDiscoursePlugin; };
      ruby = rubyEnv.wrappedRuby;
      tests = import ../../../../nixos/tests/discourse.nix { package = pkgs.discourse.override args; };
      tests = import ../../../../nixos/tests/discourse.nix {
        inherit (stdenv) system;
        inherit pkgs;
        package = pkgs.discourse.override args;
      };
    };
  };
in discourse