diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-21 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-21 12:00:00 +0000 |
commit | 90c78aee6c04e0f3444a6b73344871a6e8ff9ea5 (patch) | |
tree | 0dd9562d2783db3223b20e66c55eba0b19ffabdd /pkgs/development/interpreters/lua-5 | |
parent | a1cd06f900febb73d1c4edb17685eec8499d6097 (diff) | |
parent | 33afbf39f6f2a6b37e99f070ba7d17a28c416d02 (diff) |
Merge branch 'nativeCheckInputs' into staging-nativeCheckInputs
Diffstat (limited to 'pkgs/development/interpreters/lua-5')
-rw-r--r-- | pkgs/development/interpreters/lua-5/build-lua-package.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/interpreters/lua-5/build-lua-package.nix b/pkgs/development/interpreters/lua-5/build-lua-package.nix index a15a12dd284d0..c86e71ad366b1 100644 --- a/pkgs/development/interpreters/lua-5/build-lua-package.nix +++ b/pkgs/development/interpreters/lua-5/build-lua-package.nix @@ -20,8 +20,8 @@ , buildInputs ? [] # Dependencies needed for running the checkPhase. -# These are added to buildInputs when doCheck = true. -, checkInputs ? [] +# These are added to nativeBuildInputs when doCheck = true. +, nativeCheckInputs ? [] # propagate build dependencies so in case we have A -> B -> C, # C can import package A propagated by B @@ -114,7 +114,7 @@ let nativeBuildInputs = [ wrapLua luarocks - ] ++ lib.optionals doCheck ([ luarocksCheckHook ] ++ self.checkInputs); + ] ++ lib.optionals doCheck ([ luarocksCheckHook ] ++ self.nativeCheckInputs); buildInputs = buildInputs ++ (map (d: d.dep) externalDeps'); |