diff options
author | talyz <kim.lindberger@gmail.com> | 2021-12-22 14:30:05 +0100 |
---|---|---|
committer | talyz <kim.lindberger@gmail.com> | 2021-12-23 10:34:27 +0100 |
commit | ae77e2fb78dcb3d1545fd0c3437d5bcafe310839 (patch) | |
tree | 28068b88abbcb5409ba376f8224df139b2ba42be /pkgs/servers/web-apps | |
parent | 1138af563745b5d14e1299c5d32a29961d6313bb (diff) |
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.
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r-- | pkgs/servers/web-apps/discourse/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/web-apps/discourse/default.nix b/pkgs/servers/web-apps/discourse/default.nix index 9a04bf4799139..0d457debc1477 100644 --- a/pkgs/servers/web-apps/discourse/default.nix +++ b/pkgs/servers/web-apps/discourse/default.nix @@ -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 |