mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-14 08:54:46 +00:00
buildMozillaMach: use fixed build date
This makes building w/o PGO reproducible.
This commit is contained in:
parent
630cc6b1ca
commit
e518462e6f
@ -292,6 +292,9 @@ buildStdenv.mkDerivation {
|
||||
# Runs autoconf through ./mach configure in configurePhase
|
||||
configureScript="$(realpath ./mach) configure"
|
||||
|
||||
# Set reproducible build date; https://bugzilla.mozilla.org/show_bug.cgi?id=885777#c21
|
||||
export MOZ_BUILD_DATE=$(head -n1 sourcestamp.txt)
|
||||
|
||||
# Set predictable directories for build and state
|
||||
export MOZ_OBJDIR=$(pwd)/mozobj
|
||||
export MOZBUILD_STATE_PATH=$(pwd)/mozbuild
|
||||
|
Loading…
Reference in New Issue
Block a user