From e1f1c7eb79fefa5e640bfbc9e023619ef095935a Mon Sep 17 00:00:00 2001 From: Yureka Date: Sat, 18 Feb 2023 11:33:13 +0100 Subject: [PATCH] Revert "setup-hooks/reproducible-builds.sh: NIX_OUTPATH_USED_AS_RANDOM_SEED" (#216935) This is a stdenv rebuild and should have gone to staging --- pkgs/build-support/setup-hooks/reproducible-builds.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/build-support/setup-hooks/reproducible-builds.sh b/pkgs/build-support/setup-hooks/reproducible-builds.sh index 5e27ce8a25fe..7b52f84df67b 100644 --- a/pkgs/build-support/setup-hooks/reproducible-builds.sh +++ b/pkgs/build-support/setup-hooks/reproducible-builds.sh @@ -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 )"