build-lua-package: remove unnecessary adding of buildInputs to nativeBuildInputs
and move externalDeps' back to buildInputs both accidentally caused in https://github.com/NixOS/nixpkgs/pull/178158/files
This commit is contained in:
parent
0345bab9a6
commit
a13d387089
1 changed files with 5 additions and 5 deletions
|
@ -117,11 +117,11 @@ builtins.removeAttrs attrs ["disabled" "checkInputs" "externalDeps" "extraVariab
|
|||
nativeBuildInputs = [
|
||||
wrapLua
|
||||
luarocks
|
||||
]
|
||||
++ buildInputs
|
||||
++ lib.optionals doCheck ([ luarocksCheckHook ] ++ checkInputs)
|
||||
++ (map (d: d.dep) externalDeps')
|
||||
;
|
||||
] ++ lib.optionals doCheck ([ luarocksCheckHook ] ++ checkInputs);
|
||||
|
||||
buildInputs = buildInputs
|
||||
++ (map (d: d.dep) externalDeps');
|
||||
|
||||
|
||||
# propagate lua to active setup-hook in nix-shell
|
||||
propagatedBuildInputs = propagatedBuildInputs ++ [ lua ];
|
||||
|
|
Loading…
Reference in a new issue