You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages
Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
Tested basic functionality of all binary files (usually in ./result/bin/)
I'm trying to understand whats going on and I'm confused what this PR does. Does the export BOOT_JDK have the desired effect or does it just export an empty variable?
What is the reason for the change in the configure args escaping?
EDIT: I think I figured it out and I believe the changes in this PR aren't correct, at least not all the way. The reason BOOT_JDK now needs to be exported is because due to __structuredAttrs its not passed as an environment variable anymore, but instead as a shell variable directly. IMO the better fix would be to move it to env.BOOT_JDK instead.
I also think its better to export NIX_CONFIGURE_FLAGS="$configureFlags" instead of directly referencing them in the sed command, because if a | somehow ever ends up in the configure flags the sed command will break. This can be solved by substituting the way this was originally done via an environment variable, ie NIX_CONFIGURE_FLAGS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Things done
This adopts the fix from #419026 and fixes the build for jetbrains.jdk17 as well.
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/)Add a 👍 reaction to pull requests you find important.