buildLuaPackage: adapt to native check inputs
This commit is contained in:
parent
74beb55f91
commit
b7042dc36a
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue