stdenv: conservative undefined variables

+3 -2
+1 -1
pkgs/build-support/setup-hooks/autoreconf.sh
··· 1 - preConfigurePhases+=" autoreconfPhase" 2 3 autoreconfPhase() { 4 runHook preAutoreconf
··· 1 + preConfigurePhases="${preConfigurePhases:-} autoreconfPhase" 2 3 autoreconfPhase() { 4 runHook preAutoreconf
+2 -1
pkgs/build-support/setup-hooks/reproducible-builds.sh
··· 2 # This should ensure that it is deterministic across rebuilds of the same 3 # derivation and not easily collide with other builds. 4 # We also truncate the hash so that it cannot cause reference cycles. 5 - export NIX_CFLAGS_COMPILE+=" -frandom-seed=$( 6 outbase="${out##*/}" 7 randomseed="${outbase:0:10}" 8 echo $randomseed 9 )"
··· 2 # This should ensure that it is deterministic across rebuilds of the same 3 # derivation and not easily collide with other builds. 4 # We also truncate the hash so that it cannot cause reference cycles. 5 + NIX_CFLAGS_COMPILE="${NIX_CFLAGS_COMPILE:-} -frandom-seed=$( 6 outbase="${out##*/}" 7 randomseed="${outbase:0:10}" 8 echo $randomseed 9 )" 10 + export NIX_CFLAGS_COMPILE