guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20/21: gnu: icedtea-8: Simplify source snippet.


From: guix-commits
Subject: 20/21: gnu: icedtea-8: Simplify source snippet.
Date: Sat, 18 Dec 2021 05:15:49 -0500 (EST)

rekado pushed a commit to branch wip-java-bootstrap-simplify
in repository guix.

commit f845d93fdae74d6eeea2f27b34f020261a4c6f5a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Dec 18 00:10:09 2021 +0100

    gnu: icedtea-8: Simplify source snippet.
    
    * gnu/packages/java.scm (icedtea-8)[source]: Simplify snippet.
---
 gnu/packages/java.scm | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 7d0e5e8..221f28f 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]