News for hackers. Stuff that matters.
Re:Show HN: Lux – a luxurious package manager for Lua by johnisgood on Monday April 07, 2025 @04:34PM (#43615667)
Has anyone used this? In my ~/.bash_profile, I have "eval "$(luarocks path --bin)"" which is very slow, and it needs to be called. How does this work with "lux"?

Additionally, I think there should be examples on the website of typical workflow(s).

Additionally, is "luvit" integrated in some way or another?

Additionally, does it work with LuaJIT? I assume it does, but worth a question.

Re:Show HN: Lux – a luxurious package manager for Lua by mrcjkb on Monday April 07, 2025 @04:48PM (#43615788)
- There's an equivalent `lx path bin` command, but there's also a `lx run` that lets you run installed packages.

- We're still quite early on in development, so documentation and things like error messages will need fleshing out.

- We don't have luvit integration yet

- Yes, it also works with LuaJIT, either via pkg-config or by installing LuaJIT headers using the `luajit_src` crate.

Re:Show HN: Lux – a luxurious package manager for Lua by johnisgood on Monday April 07, 2025 @06:03PM (#43616450)
> - Yes, it also works with LuaJIT, either via pkg-config or by installing LuaJIT headers using the `luajit_src` crate.

Are there any documentation on this?

luarocks works with luajit after I run that specific command, I expect something like that as it is very easy, so I wonder if running "lx path bin" would work.

Re:Show HN: Lux – a luxurious package manager for Lua by mrcjkb on Tuesday April 08, 2025 @10:03AM (#43621913)
Only the `lx --help` and man pages.
Re:Show HN: Lux – a luxurious package manager for Lua by johnisgood on Tuesday April 08, 2025 @02:52PM (#43625279)
I will take a look when I get into Lua again. :)