summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/lua-5
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-03-08 13:24:21 +0900
committerMatthieu Coudron <mattator@gmail.com>2019-03-08 13:24:23 +0900
commit16e3574e29039c28dea84caff88d5970fc1743b9 (patch)
treeebf920888fc305803cd9ec6f0d5e89c9808d1abf /pkgs/development/interpreters/lua-5
parent727246c4407688c08194601699c03a95ef9f2353 (diff)
buildLuarocksPackage: adjust the manifest path
the new luarocks 3.0.4 uses different paths for the manifests, hence creating new collisions.
Diffstat (limited to 'pkgs/development/interpreters/lua-5')
-rw-r--r--pkgs/development/interpreters/lua-5/build-lua-package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/lua-5/build-lua-package.nix b/pkgs/development/interpreters/lua-5/build-lua-package.nix
index b1175c2fa459..6b356831b3bb 100644
--- a/pkgs/development/interpreters/lua-5/build-lua-package.nix
+++ b/pkgs/development/interpreters/lua-5/build-lua-package.nix
@@ -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
'';