diff --git a/pkgs/development/interpreters/lua-5/build-lua-package.nix b/pkgs/development/interpreters/lua-5/build-lua-package.nix index 6b356831b3b..bc41d86256b 100644 --- a/pkgs/development/interpreters/lua-5/build-lua-package.nix +++ b/pkgs/development/interpreters/lua-5/build-lua-package.nix @@ -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