-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '9ae406c0749bbc7373d7422edeaf6b1b6caa0dae' of github.com…
- Loading branch information
Showing
3 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
pkgs/applications/networking/browsers/chromium/patches/jumbo-sorted.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- chromium-70.0.3538.67/build/config/merge_for_jumbo.py.old 2018-10-25 19:15:54.578222230 +0300 | ||
+++ chromium-70.0.3538.67/build/config/merge_for_jumbo.py 2018-10-25 19:20:44.397613032 +0300 | ||
@@ -132,6 +132,8 @@ | ||
assert not inputs | ||
continue | ||
|
||
+ inputs.sort() | ||
+ outputs.sort() | ||
write_jumbo_files(inputs, outputs, written_input_set, written_output_set) | ||
|
||
assert set(args.outputs) == written_output_set, "Did not fill all outputs" |
17 changes: 17 additions & 0 deletions
17
pkgs/applications/networking/browsers/chromium/patches/no-build-timestamps.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- chromium-70.0.3538.67/build/compute_build_timestamp.py.orig 2018-11-02 16:00:34.368933077 +0200 | ||
+++ chromium-70.0.3538.67/build/compute_build_timestamp.py 2018-11-08 04:06:21.658105129 +0200 | ||
@@ -94,6 +94,14 @@ | ||
'build_type', help='The type of build', choices=('official', 'default')) | ||
args = argument_parser.parse_args() | ||
|
||
+ # I don't trust LASTCHANGE magic, and I definelly want something deterministic here | ||
+ SOURCE_DATE_EPOCH = os.getenv("SOURCE_DATE_EPOCH", None) | ||
+ if SOURCE_DATE_EPOCH is not None: | ||
+ print SOURCE_DATE_EPOCH | ||
+ return 0 | ||
+ else: | ||
+ raise RuntimeError("SOURCE_DATE_EPOCH not set") | ||
+ | ||
# The mtime of the revision in build/util/LASTCHANGE is stored in a file | ||
# next to it. Read it, to get a deterministic time close to "now". | ||
# That date is then modified as described at the top of the file so that |