mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
libexpr: Use GC_set_sp_corrector instead of patch
Manually tested by printing to stderr in both branches (sp in os stack, or not), and triggering a GC in a filterSource function, e.g.: let generateTree = n: if n == 0 then "ha" else { left = generateTree (n - 1); right = generateTree (n - 1); }; in builtins.deepSeq (generateTree 18) ... Note that the darwin still uses the strategy of disabling GC, despite having an implementation that compiles. The proper solution will be enabled and tested later.
This commit is contained in:
parent
2edcdf8508
commit
2477e4e3b8
5 changed files with 62 additions and 111 deletions
|
@ -150,8 +150,6 @@
|
|||
enableLargeConfig = true;
|
||||
}).overrideAttrs(o: {
|
||||
patches = (o.patches or []) ++ [
|
||||
./dep-patches/boehmgc-coroutine-sp-fallback.diff
|
||||
|
||||
# https://github.com/ivmai/bdwgc/pull/586
|
||||
./dep-patches/boehmgc-traceable_allocator-public.diff
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue