From 536c2ee167c85807b3ec79eae149e72ac1932c7a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 11 Sep 2021 22:30:08 +0300 Subject: 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(-) (limited to 'gnu/packages/gnome.scm') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 5abdc990c5..3a131e7494 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 -- cgit v1.2.3