nuclei: 3.3.5 -> 3.3.6 (#358083)
[NixPkgs.git] / maintainers / scripts / eval-release.sh
blobb588c767b6ae0b64ec4944b60b6c55f71119a66b
1 #!/usr/bin/env bash
3 if [[ -z "$VERBOSE" ]]; then
4 echo "You may set VERBOSE=1 to see debug output or to any other non-empty string to make this script completely silent"
5 fi
6 unset HOME NIXPKGS_CONFIG # Force empty config
8 # With the default heap size (380MB), nix-instantiate fails:
9 # Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
10 export GC_INITIAL_HEAP_SIZE=${GC_INITIAL_HEAP_SIZE:-2000000000} # 2GB
11 nix-instantiate --strict --eval-only --xml --show-trace "$(dirname "$0")"/eval-release.nix 2>&1 > /dev/null