New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Luarocks update #57010
Luarocks update #57010
Conversation
Some new features like test_dependencies/build_dependencies and flags ( --lua-versions) that should make nix integration easier: https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md
Also made changes to lua package generation system to account for packages like cqueues that have one version per lua interpreter. The csv file also accepts comments now.
This was leftover from early implementations. The overrides are passed via packageOverrides in lua-modules/default.nix
Would you also look at luarocks-nix for 19.03? It's in some weird state, failing to apply a patch. https://hydra.nixos.org/jobset/nixos/release-19.03/jobs-tab?filter=luarocks |
I am on holiday with possibly 0 connectivity the next 2 days so woudl appreciate if someone could cherry-pick them. That should be enough ? |
(cherry picked from commit bd616c0) This fixes the build of luarocks-nix. I checked that torchPackages.torch was broken even before this batch of luarocks changes.
Yes, I guess it's been tested enough by being on master for almost a month. But I see it broke some |
I reverted that for now due to causing issues; I suppose I'll sacrifice luarocks-nix on 19.03 and work on other nixpkgs stuff. |
fine with me, might be for the best as the doc about the new infra was not merged yet. |
Motivation for this change
Some lua packages have one rockspec per lua interpreter:
c01fe37#commitcomment-32572249
I've bumped luarocks that should help with nix integration (noew distinguishes test_dependencies, build_dependencies) as well as it can install rockspecs for a different lua version than its own interpreter. With the luarocks in nixpkgs, I would have to rerun the generator for every interpreter.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)