Unverified Commit e1f1c7eb authored by Yureka's avatar Yureka Committed by GitHub
Browse files

Revert "setup-hooks/reproducible-builds.sh: NIX_OUTPATH_USED_AS_RANDOM_SEED" (#216935)

This is a stdenv rebuild and should have gone to staging
parent ef56f34e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3,8 +3,7 @@
# derivation and not easily collide with other builds.
# We also truncate the hash so that it cannot cause reference cycles.
NIX_CFLAGS_COMPILE="${NIX_CFLAGS_COMPILE:-} -frandom-seed=$(
    randSeed=${NIX_OUTPATH_USED_AS_RANDOM_SEED:-$out}
    outbase="${randSeed##*/}"
    outbase="${out##*/}"
    randomseed="${outbase:0:10}"
    echo $randomseed
)"