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:
Artturin 2022-08-24 23:44:04 +03:00
parent 0345bab9a6
commit a13d387089

View file

@ -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 ];