Make autogen.man reproducible
Keep the date format similar to what it is when we are not using the MAN_PAGE_DATE env var. The man pages scripts seem to use different formats in different pages, so we use the most common format for all.
This commit is contained in:
parent
5bafec36ef
commit
edd3e40f91
|
@ -42,6 +42,10 @@ stdenv.mkDerivation rec {
|
|||
guile libxml2
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
export MAN_PAGE_DATE=$(date '+%Y-%m-%d' -d "@$SOURCE_DATE_EPOCH")
|
||||
'';
|
||||
|
||||
configureFlags =
|
||||
[
|
||||
# Make sure to use a static value for the timeout. If we do not set a value
|
||||
|
|
Loading…
Reference in a new issue