Skip to content

Honor SOURCE_DATE_EPOCH#54

Merged
backtracking merged 1 commit intobacktracking:masterfrom
roptat:master
Jan 6, 2017
Merged

Honor SOURCE_DATE_EPOCH#54
backtracking merged 1 commit intobacktracking:masterfrom
roptat:master

Conversation

@roptat
Copy link
Copy Markdown
Contributor

@roptat roptat commented Jan 2, 2017

Hi,

I'm trying to package ocamlgraph for GuixSD, my distribution of choice. Like Debian and many others, we aim to have reproducible software. Ocamlgraph embeds the compilation date and therefore isn't reproducible. SOURCE_DATE_EPOCH is an environment variable that can be used by distributors to set a fixed compilation date and obtain a reproducible build. Its exact purpose is explained here: https://reproducible-builds.org/specs/source-date-epoch/.

With this change, Guix doesn't complain about non-reproducibility anymore, and it doesn't affect any user who don't care about reproducibility.

Thank you :)

@backtracking backtracking merged commit 4fd15c1 into backtracking:master Jan 6, 2017
@backtracking
Copy link
Copy Markdown
Owner

backtracking commented Jan 6, 2017

Thanks for this patch; it makes sense.
(Actually, I don't even remember why I chose to have the compilation date as part of the information contained in ocamlgraph. I could simply remove it.)

@backtracking
Copy link
Copy Markdown
Owner

backtracking commented Jan 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants