-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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: enable for freebsd and if native net/openbsd #369706
Conversation
a06a7b5
to
b7b473d
Compare
do you want to add yourself as a maintainer ? |
@ArchercatNEO have you managed to cross-compile so we can merge ? |
Well, |
Luarocks cross-compiles for freebsd but for both netbsd and openbsd fail as python is not supported on them |
why would a faliled python block luarocks ? I have no problem enabling luarocks for BSD on the contrary the more the better but if it justs adds a broken package to BSD then the tradeoff is not good. I wish this PR could actually make luarocks build for BSD |
Not sure where in transitive dependencies python gets pulled in but running with the allow unsupported flag will try to compile python but fail in configure. Very interestingly python has a patch specifically so that the configure accepts x86_64-freebsd but not any other bsd. I'll see if just adding net/openbsd to the patch leads to further errors or can be done safely |
Nope seems like python only cross-compiles for freebsd and not open/net (and I'd say making a patch large enough to fix the configure.ac unwise) so unless luarocks has a redundant dependency on python we can't enable it for all the bsds. I could always just amend it again to enable specifically freebsd and not the other bsds. |
b7b473d
to
89000b0
Compare
89000b0
to
d46dc5b
Compare
d46dc5b
to
68a6f8e
Compare
Sorry for all the pings enabling freebsd does not seem worth this much effort. |
I tried to cross-compile neovim for x86_64-freebsd and discovered this package only supports linux/darwin.
FreeBSD ports does have luarocks though so I assume there must not be any incompatibility.
Looking back through the git history the initial commit was linux-only then darwin was enabled, without justification of why other platforms are disabled.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.