guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: librsvg: Simplify custom phase.


From: guix-commits
Subject: 02/02: gnu: librsvg: Simplify custom phase.
Date: Sat, 11 Sep 2021 16:20:20 -0400 (EDT)

efraim pushed a commit to branch core-updates-frozen
in repository guix.

commit 536c2ee167c85807b3ec79eae149e72ac1932c7a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Sep 11 22:30:08 2021 +0300

    gnu: librsvg: Simplify custom phase.
    
    * gnu/packages/gnome.scm (librsvg)[arguments]: Adjust custom
    'gnu-configure phase to use more default arguments.
---
 gnu/packages/gnome.scm | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5abdc99..3a131e7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3454,17 +3454,15 @@ for dealing with different structured file formats.")
                (("gdk_pixbuf_cache_file = .*$")
                 "gdk_pixbuf_cache_file = $(TMPDIR)/loaders.cache\n"))))
          (add-after 'configure 'gnu-configure
-           (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
-             ((assoc-ref gnu:%standard-phases 'configure)
-              #:native-inputs native-inputs
-              #:inputs inputs
-              #:outputs outputs
-              #:configure-flags
-              (list "--disable-static"
-                    "--enable-vala"
-               (string-append "--with-html-dir="
-                              (assoc-ref outputs "doc")
-                              "/share/gtk-doc/html")))))
+           (lambda* (#:key outputs #:allow-other-keys #:rest args)
+             (apply (assoc-ref gnu:%standard-phases 'configure)
+                    #:configure-flags
+                    (list "--disable-static"
+                          "--enable-vala"
+                          (string-append "--with-html-dir="
+                                         (assoc-ref outputs "doc")
+                                         "/share/gtk-doc/html"))
+                    args)))
          (add-after 'configure 'dont-vendor-self
            (lambda* (#:key vendor-dir #:allow-other-keys)
              ;; Don't keep the whole tarball in the vendor directory



reply via email to

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