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
sbt: Fix check #114474
sbt: Fix check #114474
Conversation
@GrafBlutwurst Can you check whether this addresses your issue? |
Result of 2 packages failed to build:
2 suggestions:
Result of 2 packages failed to build:
2 suggestions:
|
It doesn't seem so. At least with the shell.nix definition as defined in the bug report it doesn't build at all anymore, independent of if I override the jre or not. Is there a way to get a better error message so i can provide more information? |
@GrafBlutwurst Does the actual sbt build fail or the OpenJDK one? The errors posted by @r-rmcgibbo above look like JDK15 is broken. |
This is the full output i get. I also checked with |
OK, I think I have it reproduced. Let me check a few things and see what is going on. |
9c0e4ce
to
0f4d313
Compare
@GrafBlutwurst I can now build with |
openjdk15 is broken for me. |
@ofborg eval |
@NeQuissimus how are you building it? I just stuck the file as of commit 0f4d313 into a simple shell
but it still refuses to build. |
Let's take the test out :) It works for me but only sometimes, seems way too flaky. |
The check is very fragile. We cannot replace it with different logic as that would require network access. `
It works just fine now locally! It builds successfully with overriding the JRE or without. |
Motivation for this change
Closes #114462
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)