News for hackers. Stuff that matters.
Re:Show HN: Lux – a luxurious package manager for Lua by hgs3 on Tuesday April 08, 2025 @01:33PM (#43624334)
Why not use a function to add dependencies, e.g. `add_dependency "dependency@version"` or `add_dependencies { ...table-here... }`. This is, more or less, how premake works [1]. For `lx add ...` you'd append the function call to the script.

[1] https://premake.github.io/docs/Your-First-Script

Re:Show HN: Lux – a luxurious package manager for Lua by mrcjkb on Tuesday April 08, 2025 @04:05PM (#43625912)
That doesn't seem very ergonomic - especially for the use cases we have in mind.