mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 12:47:33 -05:00
gnu: icedtea-8: Simplify source snippet.
* gnu/packages/java.scm (icedtea-8)[source]: Simplify snippet.
This commit is contained in:
parent
a21c9a9102
commit
7f83c8be80
1 changed files with 8 additions and 10 deletions
|
@ -1482,16 +1482,14 @@ (define-public icedtea-8
|
||||||
"09yqzn8rpccs7cyv89hhy5zlznpgqw5x3jz0w1ccp0cz1vgs8l5w"))
|
"09yqzn8rpccs7cyv89hhy5zlznpgqw5x3jz0w1ccp0cz1vgs8l5w"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(substitute* '("configure"
|
||||||
(substitute* '("configure"
|
|
||||||
"acinclude.m4")
|
"acinclude.m4")
|
||||||
;; Do not embed build time
|
;; Do not embed build time
|
||||||
(("(DIST_ID=\"Custom build).*$" _ prefix)
|
(("(DIST_ID=\"Custom build).*$" _ prefix)
|
||||||
(string-append prefix "\"\n"))
|
(string-append prefix "\"\n"))
|
||||||
;; Do not leak information about the build host
|
;; Do not leak information about the build host
|
||||||
(("DIST_NAME=\"\\$build_os\"")
|
(("DIST_NAME=\"\\$build_os\"")
|
||||||
"DIST_NAME=\"guix\""))
|
"DIST_NAME=\"guix\"")))))
|
||||||
#t))))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:imported-modules
|
`(#:imported-modules
|
||||||
((guix build ant-build-system)
|
((guix build ant-build-system)
|
||||||
|
|
Loading…
Reference in a new issue