From f670c11c5b7f5799d0838caa2af07e88f489f625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 8 Jul 2021 14:15:20 +0200 Subject: [PATCH] gnu: libdatrie: Turn configure flags into a gexp. * gnu/packages/gtk.scm (libdatrie)[arguments]: Turn #:configure-flags into a gexp. --- gnu/packages/gtk.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index f8961def92..a90db08f6e 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -45,6 +45,7 @@ (define-module (gnu packages gtk) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix gexp) #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix download) @@ -276,15 +277,13 @@ output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.") (build-system gnu-build-system) (outputs '("out" "doc")) (arguments - `(#:configure-flags - (list - (string-append "--with-html-docdir=" - (assoc-ref %outputs "doc") - "/share/doc/datrie/html")) + (list #:configure-flags + #~(list (string-append "--with-html-docdir=" #$output:doc + "/share/doc/datrie/html")) - ;; Several tests refer to the 'test.tri' file, leading to race - ;; conditions when running tests in parallel. - #:parallel-tests? #f)) + ;; Several tests refer to the 'test.tri' file, leading to race + ;; conditions when running tests in parallel. + #:parallel-tests? #f)) (native-inputs `(("doxygen" ,doxygen) ("pkg-config" ,pkg-config)))