guix-commits
[Top][All Lists]
Advanced

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

396/470: gnu: gtk+-2: Remove trailing #t from phases.


From: guix-commits
Subject: 396/470: gnu: gtk+-2: Remove trailing #t from phases.
Date: Thu, 16 Mar 2023 03:02:24 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit a53af653541a46793ec7009c360ee0168cc6c93d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 19:35:50 2023 +0200

    gnu: gtk+-2: Remove trailing #t from phases.
    
    * gnu/packages/gtk.scm (gtk+-2)[arguments]: Remove trailing #t from
    phases.
---
 gnu/packages/gtk.scm | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 05d4e98575..f1b460fc85 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1065,8 +1065,7 @@ is part of the GNOME accessibility project.")
              (substitute* "gtk/tests/recentmanager.c"
                (("g_test_add_func \\(\"/recent-manager.*;") ""))
              (substitute* "gtk/tests/defaultvalue.c"
-               (("return g_test_run\\(\\);") ""))
-             #t))
+               (("return g_test_run\\(\\);") ""))))
          (add-before 'check 'pre-check
            (lambda _
              ;; Tests require a running X server.
@@ -1077,14 +1076,12 @@ is part of the GNOME accessibility project.")
              ;; Tests look for $XDG_RUNTIME_DIR.
              (setenv "XDG_RUNTIME_DIR" (getcwd))
              ;; For missing '/etc/machine-id'.
-             (setenv "DBUS_FATAL_WARNINGS" "0")
-             #t))
+             (setenv "DBUS_FATAL_WARNINGS" "0")))
          (add-after 'install 'remove-cache
            (lambda* (#:key outputs #:allow-other-keys)
-            (for-each
-             delete-file
-             (find-files (assoc-ref outputs "out") "immodules.cache"))
-             #t)))))
+             (for-each
+               delete-file
+               (find-files (assoc-ref outputs "out") "immodules.cache")))))))
     (native-search-paths
      (list (search-path-specification
             (variable "GUIX_GTK2_PATH")



reply via email to

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