mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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.
This commit is contained in:
parent
1138af5637
commit
ae77e2fb78
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user