buildLuarocksPackage: forcefully create $out

Allows to work around https://github.com/luarocks/luarocks/issues/988 on darwin
This commit is contained in:
Matthieu Coudron 2019-04-14 16:41:11 +09:00
parent e195a37fd9
commit 612c816596

View File

@ -150,6 +150,9 @@ builtins.removeAttrs attrs ["disabled" "checkInputs"] // {
installPhase = attrs.installPhase or ''
runHook preInstall
# work around failing luarocks test for Write access
mkdir -p $out
# luarocks make assumes sources are available in cwd
# After the build is complete, it also installs the rock.
# If no argument is given, it looks for a rockspec in the current directory