about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2024-01-31 08:54:51 +0100
committerGitHub <noreply@github.com>2024-01-31 08:54:51 +0100
commit465cb9cbc94c7193e7222c4b09061872566bd60c (patch)
tree2a6c32b763e6b0ad0537bd4903ef853014075081 /pkgs/applications/networking/browsers
parent65837c8aa9a084ff5c471067bd5126662b5a95de (diff)
parente518462e6f119671b06a18f809df6de70ec2f175 (diff)
downloadnixlib-465cb9cbc94c7193e7222c4b09061872566bd60c.tar
nixlib-465cb9cbc94c7193e7222c4b09061872566bd60c.tar.gz
nixlib-465cb9cbc94c7193e7222c4b09061872566bd60c.tar.bz2
nixlib-465cb9cbc94c7193e7222c4b09061872566bd60c.tar.lz
nixlib-465cb9cbc94c7193e7222c4b09061872566bd60c.tar.xz
nixlib-465cb9cbc94c7193e7222c4b09061872566bd60c.tar.zst
nixlib-465cb9cbc94c7193e7222c4b09061872566bd60c.zip
Merge pull request #285159 from mweinelt/firefox-reproducible
buildMozillaMach: use fixed build date
Diffstat (limited to 'pkgs/applications/networking/browsers')
-rw-r--r--pkgs/applications/networking/browsers/firefox/common.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index 1c95b667a4e7..9f0826f0ba08 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -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