Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
1004 B
Nix
39 lines
1004 B
Nix
regular@{
|
|
lib,
|
|
boehmgc,
|
|
aws-sdk-cpp,
|
|
fetchFromGitHub,
|
|
pkgs,
|
|
}:
|
|
|
|
{
|
|
scopeFunction = scope: {
|
|
boehmgc = regular.boehmgc.override {
|
|
enableLargeConfig = true;
|
|
|
|
# Increase the initial mark stack size to avoid stack overflows, since these inhibit parallel
|
|
# marking (see `GC_mark_some()` in `mark.c`).
|
|
#
|
|
# Run Nix with `GC_PRINT_STATS=1` set to see if the mark stack is too small.
|
|
# Look for messages such as `Mark stack overflow`, `No room to copy back mark stack`, and
|
|
# `Grew mark stack to ... frames`.
|
|
initialMarkStackSize = 1048576;
|
|
};
|
|
|
|
aws-sdk-cpp = regular.aws-sdk-cpp.override {
|
|
# Nix only needs these AWS APIs.
|
|
apis = [
|
|
"identity-management"
|
|
"s3"
|
|
"transfer"
|
|
];
|
|
|
|
# Don't use AWS' custom memory management.
|
|
customMemoryManagement = false;
|
|
|
|
# only a stripped down version is built which takes a lot less resources to build
|
|
requiredSystemFeatures = [ ];
|
|
};
|
|
};
|
|
}
|