gnu: sablevm: Build reproducibly.
* gnu/packages/java.scm (sablevm)[arguments]: Add build phase "remove-timestamp-for-reproducibility".
This commit is contained in:
		
							parent
							
								
									c4fd86f9c1
								
							
						
					
					
						commit
						ec7e9eeae6
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -167,6 +167,11 @@ This package provides the classpath library.") | |||
|              "--with-internal-libpopt=no") | ||||
|        #:phases | ||||
|        (modify-phases %standard-phases | ||||
|          (add-after 'unpack 'remove-timestamp-for-reproducibility | ||||
|            (lambda _ | ||||
|              (substitute* "src/sablevm/Makefile.in" | ||||
|                (("\\$\\(SVMCOMPILETIME\\)") "(unknown)")) | ||||
|              #t)) | ||||
|          (add-after 'unpack 'link-with-popt | ||||
|            (lambda _ | ||||
|              (substitute* "src/sablevm/Makefile.in" | ||||
|  |  | |||
		Reference in a new issue