gnu: icedtea-8: Simplify source snippet.

* gnu/packages/java.scm (icedtea-8)[source]: Simplify snippet.
This commit is contained in:
Ricardo Wurmus 2021-12-18 00:10:09 +01:00
parent a21c9a9102
commit 7f83c8be80
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1482,16 +1482,14 @@ (define-public icedtea-8
"09yqzn8rpccs7cyv89hhy5zlznpgqw5x3jz0w1ccp0cz1vgs8l5w"))
(modules '((guix build utils)))
(snippet
'(begin
(substitute* '("configure"
"acinclude.m4")
;; Do not embed build time
(("(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))))
'(substitute* '("configure"
"acinclude.m4")
;; Do not embed build time
(("(DIST_ID=\"Custom build).*$" _ prefix)
(string-append prefix "\"\n"))
;; Do not leak information about the build host
(("DIST_NAME=\"\\$build_os\"")
"DIST_NAME=\"guix\"")))))
(arguments
`(#:imported-modules
((guix build ant-build-system)