Package: luarocks

Filed upstream as https://github.com/keplerproject/luarocks/issues/511

On debian, /usr/bin/luarocks contains:
```lua
package.path = [[/usr/share/lua/5.1/?.lua;]]..package.path
```

Which is a show-stopper for having one luarocks installation handle
all lua versions, as this means that running `lua5.3 /usr/bin/luarocks
path --bin` results in a path of:
```
export 
LUA_PATH_5_3='/home/daurnimator/.luarocks/share/lua/5.3/?.lua;/home/daurnimator/.luarocks/share/lua/5.3/?/init.lua;/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/local/lib/lua/5.3/?.lua;/usr/local/lib/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua;./?.lua;./?/init.lua'
```

-------------------

This line doesn't seem to exist in other some distros (e.g. arch linux).

A possible solution is simply *not* running `make build`.

Reply via email to