build: set SOURCE_DATE_EPOCH
This commit is contained in:
parent
bc9b98aa0b
commit
1a81257721
@ -144,6 +144,9 @@ class Build
|
|||||||
# which is not known until after the formula has been staged.
|
# which is not known until after the formula has been staged.
|
||||||
ENV["HOMEBREW_FORMULA_PREFIX"] = formula.prefix
|
ENV["HOMEBREW_FORMULA_PREFIX"] = formula.prefix
|
||||||
|
|
||||||
|
# https://reproducible-builds.org/docs/source-date-epoch/
|
||||||
|
ENV["SOURCE_DATE_EPOCH"] = formula.source_modified_time.to_i.to_s
|
||||||
|
|
||||||
formula.patch
|
formula.patch
|
||||||
|
|
||||||
if args.git?
|
if args.git?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user