mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
buildLuaPackage: adapt to native check inputs
This commit is contained in:
parent
74beb55f91
commit
b7042dc36a
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user