From db6609bd10f9cc24ffe8d1573435a6f16551ef48 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Wed, 21 Mar 2018 01:34:34 +0100 Subject: [PATCH] gnu: texlive-fonts-amsfonts: Make build reproducible. * gnu/packages/tex.scm (texlive-fonts-amsfonts)[arguments]<#:phases>[build]: Make build reproducible. --- gnu/packages/tex.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 1416a00251..266e42d5aa 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -760,6 +760,8 @@ (define-public texlive-fonts-amsfonts (lambda* (#:key inputs #:allow-other-keys) (let ((mf (assoc-ref inputs "texlive-metafont-base")) (cwd (getcwd))) + ;; Make METAFONT reproducible + (setenv "SOURCE_DATE_EPOCH" "1") ;; Tell mf where to find mf.base (setenv "MFBASES" (string-append mf "/share/texmf-dist/web2c")) ;; Tell mf where to look for source files