gnu: texlive-fonts-amsfonts: Make build reproducible.
* gnu/packages/tex.scm (texlive-fonts-amsfonts)[arguments]<#:phases>[build]: Make build reproducible.
This commit is contained in:
		
							parent
							
								
									af23710ff5
								
							
						
					
					
						commit
						db6609bd10
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -760,6 +760,8 @@ symbol fonts.")
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (let ((mf (assoc-ref inputs "texlive-metafont-base"))
 | 
					             (let ((mf (assoc-ref inputs "texlive-metafont-base"))
 | 
				
			||||||
                   (cwd (getcwd)))
 | 
					                   (cwd (getcwd)))
 | 
				
			||||||
 | 
					               ;; Make METAFONT reproducible
 | 
				
			||||||
 | 
					               (setenv "SOURCE_DATE_EPOCH" "1")
 | 
				
			||||||
               ;; Tell mf where to find mf.base
 | 
					               ;; Tell mf where to find mf.base
 | 
				
			||||||
               (setenv "MFBASES" (string-append mf "/share/texmf-dist/web2c"))
 | 
					               (setenv "MFBASES" (string-append mf "/share/texmf-dist/web2c"))
 | 
				
			||||||
               ;; Tell mf where to look for source files
 | 
					               ;; Tell mf where to look for source files
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue