From ef614fd39e88941bd18758c91b0e4740a0c2a31e Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 9 Sep 2022 13:53:13 +0200 Subject: [PATCH] gnu: graphicsmagick: Remove input labels. * gnu/packages/imagemagick.scm (graphicsmagick)[inputs]: Remove labels. [arguments]: Use SEARCH-INPUT-DIRECTORY. --- gnu/packages/imagemagick.scm | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm index b10e3f68cd..6548c0c8ac 100644 --- a/gnu/packages/imagemagick.scm +++ b/gnu/packages/imagemagick.scm @@ -235,23 +235,23 @@ (define-public graphicsmagick "--with-quantum-depth=16" ; required by Octave "--enable-quantum-library-names" (string-append "--with-gs-font-dir=" - (assoc-ref %build-inputs "font-ghostscript") - "/share/fonts/type1/ghostscript")))) + (search-input-directory + %build-inputs "share/fonts/type1/ghostscript"))))) (inputs - `(("graphviz" ,graphviz) - ("ghostscript" ,ghostscript) - ("font-ghostscript" ,font-ghostscript) - ("lcms" ,lcms) - ("libx11" ,libx11) - ("libxml2" ,libxml2) - ("libtiff" ,libtiff) - ("libpng" ,libpng) - ("libjpeg" ,libjpeg-turbo) - ("libwebp" ,libwebp) - ("freetype" ,freetype) - ("bzip2" ,bzip2) - ("xz" ,xz) - ("zlib" ,zlib))) + (list bzip2 + font-ghostscript + freetype + ghostscript + graphviz + lcms + libjpeg-turbo + libpng + libtiff + libwebp + libxml2 + libx11 + xz + zlib)) (native-inputs (list pkg-config)) (outputs '("out" ; 13 MiB