summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-06-27 11:29:34 +0200
committerMarius Bakke <marius@gnu.org>2022-06-27 19:15:07 +0200
commitbe2d53225c08ac09a2ecfc0044036e276e369383 (patch)
tree31c755ab5189618cd486e074b1260eca2a00fd46 /gnu/packages
parente8af8fc3e187025c791f8480595ec82e424460b8 (diff)
downloadguix-be2d53225c08ac09a2ecfc0044036e276e369383.tar.gz
gnu: libtiff: Use G-expressions.
* gnu/packages/image.scm (libtiff)[arguments]: Convert to gexp.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/image.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index be31d1c35c..a3e73de8fa 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -96,6 +96,7 @@
   #:use-module (gnu packages fonts)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
+  #:use-module (guix gexp)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix utils)
@@ -577,13 +578,11 @@ extracting icontainer icon files.")
    (outputs '("out"
               "doc"))                           ;1.8 MiB of HTML documentation
    (arguments
-    ;; Instead of using --docdir, this package has its own --with-docdir.
-    `(#:configure-flags
-      (list (string-append "--with-docdir="
-                           (assoc-ref %outputs "doc")
-                           "/share/doc/"
-                           ,name "-" ,(package-version this-package))
-            "--disable-static")))
+    (list #:configure-flags
+          ;; Instead of using --docdir, this package has its own --with-docdir.
+          #~(list (string-append "--with-docdir=" #$output:doc "/share/doc/"
+                                 #$name "-" #$(package-version this-package))
+                "--disable-static")))
    (inputs
     (list libjpeg-turbo zlib))
    (synopsis "Library for handling TIFF files")