guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: gtk+-2: Remove trailing #t from phases.


From: guix-commits
Subject: 01/02: gnu: gtk+-2: Remove trailing #t from phases.
Date: Fri, 24 Feb 2023 04:38:55 -0500 (EST)

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

commit adb4b2b86d7a1923ba88a5bbdcbdfd323591f3c9
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 f575194c73..79d645d3ed 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]