3
0
Fork 0
forked from mirrors/nixpkgs

Revert "luarocks: fix cross-compiling"

it introduces the wrong lua version and the output will depend on it

to fix splicing the lua infra has to be reworked

This reverts commit a42a1cbc19.
This commit is contained in:
Artturin 2022-07-15 01:58:11 +03:00
parent 7db9cda1b5
commit 4a53aba968

View file

@ -1,5 +1,4 @@
{lib, stdenv, fetchFromGitHub
, buildPackages
, curl, makeWrapper, which, unzip
, lua
# for 'luarocks pack'
@ -44,7 +43,7 @@ stdenv.mkDerivation rec {
fi
'';
nativeBuildInputs = [ makeWrapper installShellFiles buildPackages.lua ];
nativeBuildInputs = [ makeWrapper installShellFiles ];
buildInputs = [ lua curl which ];
@ -64,7 +63,7 @@ stdenv.mkDerivation rec {
installShellCompletion --cmd luarocks --zsh <($out/bin/luarocks completion zsh)
'';
propagatedNativeBuildInputs = [ zip unzip cmake ];
propagatedBuildInputs = [ zip unzip cmake ];
# unpack hook for src.rock and rockspec files
setupHook = ./setup-hook.sh;