ruby-modules: improve cross-compilation support#270242
ruby-modules: improve cross-compilation support#270242Artturin merged 2 commits intoNixOS:stagingfrom
Conversation
14d83fd to
9572406
Compare
|
I’m really confused here, is this PR somehow blocklisted? Is Ruby ecosystem so dead that we don’t review changes anymore (e.g. #258705 also took a long time to merge)? Am I the only one actually using it (given that nobody complained about this issue before)? Do I have to sell my soul to the devil to get this PR reviewed? It’s been 6 months (that’s a full NixOS release cycle) with zero feedback from maintainers and requested reviewers. 😢 |
|
@tie Hello! Sorry for the late reply, and thank you for your work on improving cross-compilation support for Ruby packages 😄 Your changes looks good to me, but unfortunately I don't have a computer powerful enough to test your changes (cross-compilation + ~2500 rebuilds) and check that everything's OK on my end. As your PR targets the |
|
Thank you, yes, that sounds good. |
|
@ofborg build pkgsCross.gnu64.bundler pkgsCross.gnu64.puppet-bolt |
|
Those changes are pretty simple and just correct that we use the correct binaries in shebangs, nothing compiler/linker related. I think we can safely merge this. |
|
Successfully created backport PR for |
|
Bisect says 3097117 |
|
Probably due to unpatched shebang in the store: |
Description of changes
This PR contains fixes for cross-compilation in Ruby infrastructure. In particular,
bundler{App,Env}were using host ruby to execute gen-bin-stubs.rb, same for rsync ifcopyGemFileswas set.buildRubyGemoutput contained Ruby-generated binstubs that referencedrubyfrom nativeBuildInputs.For example,
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Priorities
Add a 👍 reaction to pull requests you find important.