From 16e3574e29039c28dea84caff88d5970fc1743b9 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Fri, 8 Mar 2019 13:24:21 +0900 Subject: [PATCH] buildLuarocksPackage: adjust the manifest path the new luarocks 3.0.4 uses different paths for the manifests, hence creating new collisions. --- pkgs/development/interpreters/lua-5/build-lua-package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/lua-5/build-lua-package.nix b/pkgs/development/interpreters/lua-5/build-lua-package.nix index b1175c2fa45..6b356831b3b 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 '';