-
-
Notifications
You must be signed in to change notification settings - Fork 19.7k
nixVersions.nix_2_31: init at 2.31.0 #437584
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
Changes from all commits
d593ead
5e7b901
e1ff94f
f6cbf3e
fe134e4
269f0be
f7fecd5
42e6ff4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,20 @@ regular@{ | |
|
|
||
| { | ||
| scopeFunction = scope: { | ||
| boehmgc = regular.boehmgc.override { enableLargeConfig = true; }; | ||
| boehmgc = | ||
| (regular.boehmgc.override { | ||
| enableLargeConfig = true; | ||
| }).overrideAttrs | ||
| (attrs: { | ||
| # Increase the initial mark stack size to avoid stack | ||
| # overflows, since these inhibit parallel marking (see | ||
| # GC_mark_some()). To check whether the mark stack is too | ||
| # small, run Nix with GC_PRINT_STATS=1 and look for messages | ||
| # such as `Mark stack overflow`, `No room to copy back mark | ||
| # stack`, and `Grew mark stack to ... frames`. | ||
| NIX_CFLAGS_COMPILE = "-DINITIAL_MARK_STACK_SIZE=1048576"; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like this is breaking anyone who sets env.NIX_CFLAGS_COMPILE globally. Previously there were efforts to ensure we only use env.NIX_CFLAGS_COMPILE and not the attrs.NIX_CFLAGS_COMPILE (see #217206). Is there any reason this needs to be directly in attrs or was this just a small oversight and we can move to using env?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah that was an oversight.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I cherry-picked the upstream commit but I agree that we should not use overrideAttrs (and ideally not use overrides) here.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the quick response! I don't have time at the moment to create a PR, but will do so tonight (just to use env. for now, not avoiding overrideAttrs overall) if no one else gets to it first.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nvm, it was such a quick fix I just made the PR now: #439910
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| }); | ||
|
|
||
| aws-sdk-cpp = | ||
| (regular.aws-sdk-cpp.override { | ||
| apis = [ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.