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") |              "--with-internal-libpopt=no") | ||||||
|        #:phases |        #:phases | ||||||
|        (modify-phases %standard-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 |          (add-after 'unpack 'link-with-popt | ||||||
|            (lambda _ |            (lambda _ | ||||||
|              (substitute* "src/sablevm/Makefile.in" |              (substitute* "src/sablevm/Makefile.in" | ||||||
|  |  | ||||||
		Reference in a new issue