-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
jdk11_headless: fix the build on amd64 #51860
Conversation
This fixes: checking user specified JVM feature list... configure: error: Cannot continue configure: Unknown JVM features specified: "zgc--enable-headless-only" configure: The available JVM features are: "aot cds cmsgc compiler1 compiler2 dtrace epsilongc g1gc graal jfr jni-check jvmci jvmti link-time-opt management minimal nmt parallelgc serialgc services static-build vm-structs zero zgc" configure exiting with result code 1 builder for '/nix/store/1awwzd98crcgxad3srdkv8smhxgiz2qp-openjdk-11.0.1-b13.drv' failed with exit code 1
Couldn't this use |
@pbogdan I tried to switch this over to
That happens with or without the inner I suspect this used |
Does this work? {
# ...
configureFlags = lib.escapeShellArgs [
"foo"
"bar"
"baz"
];
# ...
} |
ivan@8619db9#diff-077ce81757f14244afe7a85de7a5bcadR67 gives me
|
Okay, I think the current approach is fine then. |
@GrahamcOfBorg build jdk11_headless |
Built successfully on x86_64-linux locally. |
This fixes #51859:
Motivation for this change
Fix build breakage introduced in 1629147
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)I verified that this unbreaks the configure step; it now does