about summary refs log tree commit diff
path: root/maintainers
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2019-01-25 13:27:13 +0000
committerGitHub <noreply@github.com>2019-01-25 13:27:13 +0000
commit21bb1b0aac572be5dffdb6d326c4c6fc30406aa9 (patch)
treebb8e7a2c73de65f823977382d9254992ee12a643 /maintainers
parent4c60e5314c4abb4f212813da84e4b554da859ed2 (diff)
parent1f8c96054ee971397ffd4727930a9252552ac9bd (diff)
downloadnixlib-21bb1b0aac572be5dffdb6d326c4c6fc30406aa9.tar
nixlib-21bb1b0aac572be5dffdb6d326c4c6fc30406aa9.tar.gz
nixlib-21bb1b0aac572be5dffdb6d326c4c6fc30406aa9.tar.bz2
nixlib-21bb1b0aac572be5dffdb6d326c4c6fc30406aa9.tar.lz
nixlib-21bb1b0aac572be5dffdb6d326c4c6fc30406aa9.tar.xz
nixlib-21bb1b0aac572be5dffdb6d326c4c6fc30406aa9.tar.zst
nixlib-21bb1b0aac572be5dffdb6d326c4c6fc30406aa9.zip
Merge pull request #50990 from nlewo/pr-eval-release
Increase nix-instantiate heap size in eval-release.sh
Diffstat (limited to 'maintainers')
-rwxr-xr-xmaintainers/scripts/eval-release.sh (renamed from maintainers/scripts/test-eval-release.sh)4
1 files changed, 4 insertions, 0 deletions
diff --git a/maintainers/scripts/test-eval-release.sh b/maintainers/scripts/eval-release.sh
index 9ef531319e4d..e0dfaf1de74c 100755
--- a/maintainers/scripts/test-eval-release.sh
+++ b/maintainers/scripts/eval-release.sh
@@ -4,4 +4,8 @@ if [[ -z "$VERBOSE" ]]; then
   echo "You may set VERBOSE=1 to see debug output or to any other non-empty string to make this script completely silent"
 fi
 unset HOME NIXPKGS_CONFIG # Force empty config
+
+# With the default heap size (380MB), nix-instantiate fails:
+# Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
+export GC_INITIAL_HEAP_SIZE=${GC_INITIAL_HEAP_SIZE:-2000000000} # 2GB
 nix-instantiate --strict --eval-only --xml --show-trace "$(dirname "$0")"/eval-release.nix 2>&1 > /dev/null