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
Lua: autogenerate some more packages #55680
Conversation
"date": "2013-02-18T16:36:42+01:00", | ||
"sha256": "0lsc556hlkddjbmcdbg7wc2g55bfy743p8ywdzl8x7kk847r043q", | ||
"fetchSubmodules": true | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if there is an easy way to improve generated formatting here — this point is a large «wait what» when reading.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't want to write my own tool so I use the output of nix-prefetch-url/git
. This is my cry out for help:
https://discourse.nixos.org/t/generate-nix-code-to-fetch-package-from-url/1941
Anyway as this is generated, it's easy to fix afterwards, luarocks-nix is a huge mess now I would need to remove all the comments first so that others can fix it. I would also like to have everything sorted alphabetically as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can remove it from the list if it's a problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, not an immediate problem, just a thing to keep in mind.
I wonder if this file would get better or worse from just feeding through indent
.
@GrahamcOfBorg build luaPackages.luaevent luaPackages.luacheck luaPackages.luabitop luaPackages.lpty luaPackages.lua-iconv |
seems like it timed out. |
OK, Git on macOS is not my hill to die on, the non-git-source packages seem to work. |
Motivation for this change
autogenerate some more packages
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)