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

This is a stdenv rebuild and should have gone to staging
This commit is contained in:
Yureka 2023-02-18 11:33:13 +01:00 committed by GitHub
parent ef56f34e07
commit e1f1c7eb79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
)"