-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
minecraft: mark broken #299645
minecraft: mark broken #299645
Conversation
c71c2d0
to
8d451d8
Compare
I think the warning is better than marking it broken, if only because this message shows the alternatives. |
i believe that the message should be shown on
https://nixos.org/manual/nix/stable/language/builtins#builtins-trace that said, it looks like emitting something to |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
I have a bottom line question (haven't read all prior discussions): Is the derivation actually usable? For anyone? |
no, it is broken. |
Then why not simply |
that's described by the author of the change, in one of the four comments you decided to skip: |
I'm willing to go in either direction. Just let me know. |
This is a broad issue in Nixpkgs - that we lack a robust way to describe why packages are broken, besides writing a comment above the |
It actually is usable, so long as you don't try to play relatively recent minecraft versions with it. Older versions still work because they don't bundle natively compiled code. This is why I was hesitant to mark it broken in the first place. But other than that, broken + comment is probably fine for now, and we should invent a better solution for these things. |
8d451d8
to
8b34e45
Compare
updated to accommodate the consensus that marking "broken" is better |
Description of changes
The minecraft launcher will fail for new versions. This results in a hard-to-understand error. Either we mark the package as broken (yes, it does work when launching old versions) or provide a warning.
Fixes: #179323
Things done
Added a warning..... asking for feedback if marking
broken = true;
would just be better.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.