buildLuarocksPackage: adjust the manifest path

the new luarocks 3.0.4 uses different paths for the manifests, hence creating new collisions.
This commit is contained in:
Matthieu Coudron 2019-03-08 13:24:21 +09:00
parent 727246c440
commit 16e3574e29

View File

@ -165,7 +165,7 @@ builtins.removeAttrs attrs ["disabled" "checkInputs"] // {
# to prevent collisions when creating environments
# also added -f as it doesn't always exist
# don't remove the whole directory as
rm -rf $out/lib/luarocks/rocks/manifest
rm -rf $out/lib/luarocks/rocks-${lua.luaversion}/manifest
runHook postInstall
'';