aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-18 00:10:09 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-23 20:27:46 +0100
commit7f83c8be8088730f6302f384ff7f140c84d57abb (patch)
tree886034fd6771b886b9fdd5669c28e4e3410d3b26
parenta21c9a910277720607e573ee855ce6b9a0503470 (diff)
downloadguix-7f83c8be8088730f6302f384ff7f140c84d57abb.tar
guix-7f83c8be8088730f6302f384ff7f140c84d57abb.tar.gz
gnu: icedtea-8: Simplify source snippet.
* gnu/packages/java.scm (icedtea-8)[source]: Simplify snippet.
-rw-r--r--gnu/packages/java.scm18
1 files changed, 8 insertions, 10 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 8f78680f4c..6edea7390c 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1482,16 +1482,14 @@ IcedTea build harness.")
"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)