Honor SOURCE_DATE_EPOCH variable to avoid non-determinism in generated "autoloads" files. --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -419,8 +419,12 @@ ;; nil t)) ;; (match-end 2)))) (insert generate-autoload-section-header) - (prin1 `(autoloads ,autoloads ,load-name ,file ,time) - outbuf) + (let* ((env (getenv "SOURCE_DATE_EPOCH")) + (time (if env + (seconds-to-time (string-to-number env)) + time))) + (prin1 `(autoloads ,autoloads ,load-name ,file ,time) + outbuf)) (terpri outbuf) ;; Break that line at spaces, to avoid very long lines. ;; Make each sub-line into a comment. > Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/dsa.key
AgeCommit message (Expand)Author
2020-05-04Add (guix openpgp)....* guix/openpgp.scm, tests/openpgp.scm, tests/civodul.key, tests/dsa.key, tests/ed25519.key, tests/rsa.key, tests/ed25519.sec: New files. * Makefile.am (MODULES): Add guix/openpgp.scm. (SCM_TESTS): Add tests/openpgp.scm. (EXTRA_DIST): Add tests/*.key and tests/ed25519.sec. Ludovic Courtès