gnu: icedtea-8: Do not embed build time.
* gnu/packages/java.scm (icedtea-8)[source]: Modify snippet to erase the embedded build time.
This commit is contained in:
parent
71053e1477
commit
0c729ef4e3
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
|
;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
|
||||||
;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au>
|
;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au>
|
||||||
|
@ -855,10 +855,15 @@ IcedTea build harness.")
|
||||||
"02vmxa6gc6gizcri1fy797qmmm9y77vgi7gy9pwkk4agcw4zyr5p"))
|
"02vmxa6gc6gizcri1fy797qmmm9y77vgi7gy9pwkk4agcw4zyr5p"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(substitute* "Makefile.am"
|
'(begin
|
||||||
;; do not leak information about the build host
|
(substitute* "acinclude.m4"
|
||||||
(("DISTRIBUTION_ID=\"\\$\\(DIST_ID\\)\"")
|
;; Do not embed build time
|
||||||
"DISTRIBUTION_ID=\"\\\"guix\\\"\"")))))
|
(("(DIST_ID=\"Custom build).*$" _ prefix)
|
||||||
|
(string-append prefix "\"\n"))
|
||||||
|
;; Do not leak information about the build host
|
||||||
|
(("DIST_NAME=\"\\$build_os\"")
|
||||||
|
"DIST_NAME=\"guix\""))
|
||||||
|
#t))))
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments icedtea-7)
|
(substitute-keyword-arguments (package-arguments icedtea-7)
|
||||||
((#:configure-flags flags)
|
((#:configure-flags flags)
|
||||||
|
|
Loading…
Reference in New Issue