me
/
guix
Archived
1
0
Fork 0

gnu: eid-mw: Build reproducibly.

* gnu/packages/security-token.scm (eid-mw)[arguments]: Add
a "make-reproducible" phase to set build date to the epoch.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
master
Raphaël Mélotte 2020-11-06 20:16:20 +01:00 committed by Tobias Geerinckx-Rice
parent b9772f6241
commit d2bf896155
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 1 deletions

View File

@ -139,7 +139,13 @@ readers and is needed to communicate with such devices through the
(substitute* "scripts/build-aux/genver.sh"
(("/bin/sh") (which "sh"))
(("^(GITDESC=).*" _ match) (string-append match ,version "\n")))
(invoke "sh" "./bootstrap.sh"))))))
(invoke "sh" "./bootstrap.sh")))
(add-after 'unpack 'make-reproducible
(lambda _
(substitute* "scripts/mac/create-vers.sh"
(("NOW=.*")
"NOW=1970-01-01\n"))
#t)))))
(synopsis "Belgian eID Middleware")
(description "The Belgian eID Middleware is required to authenticate with
online services using the Belgian electronic identity card.")