guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 20/50: gnu: icedtea-8: Simplify source snippet.
Date: Thu, 23 Dec 2021 12:52:34 -0500 (EST)

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

commit 6a4c54b75ecc07aa719fb16b24d39aa4be906d6b
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 8f78680..6edea73 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]