-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Insufficient identifier for ruby #160103
Comments
I didn't notice that before, but the binary cache contains the package built on Darwin 17 as well. It was a happy accident that it matched my upgrade path. However this means even installing Ruby on a new system gives you the wrong version. The reproducer is shortened to: install ruby_2_7 (build rather than use binaries), check your |
Hi @toonn I think this is something that could be a part of the larger macos tracking goals since it affects the whole Ruby environment. Not sure where to better rise it for discussion. |
@viraptor, I mentioned it in the Status issue. Anything else you had in mind? I think this is a good issue to go on the Darwin project board but I can't add issues there. |
Not stale, this still occurs as a broad problem. What I’m seeing is when using |
Sorry @toonn - totally missed that comment. Yes, that's about the summary of it - with the extra detail that the number depends on the kernel really, which is not controlled by nixpkgs and is likely going to have a mismatch with hydra, so the cached package downloads are... probably always going to be weird? I've learned much more about nixpkgs since raising this issue and I'm not sure that's really solvable as a general case. Maybe we just need to accept that the bundling helpers should tell you "add a |
Describe the bug
When building ruby, the platform identifier does not become part of the package. That means you can end up with non-runnable packages which don't rebuild automatically.
Steps To Reproduce
Steps to reproduce the behavior:
uname -r
orGem::Platform.local
)bundle exec ...
in the built environmentnix develop
the project after the upgrade does not see the problem and does not rebuild the dependencies.Expected behavior
Depending on ruby should cause an automatic rebuild, if the current ruby derivation was built on previous darwin version.
Additional context
Does this actually warrant making the ruby package
ruby-2.7.5-darwin-21
that's also visible asruby-2.7.5
?Notify maintainers
@vrthra @manveru @marsam
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: