From 511d584906c6304a3dc6ffcf7096bb14c6bee222 Mon Sep 17 00:00:00 2001 From: Felix Lechner Date: Tue, 20 Sep 2022 09:47:35 -0700 Subject: gnu: libxkbcommon: Switch to gexp; avoid hardcoding inputs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xdisorg.scm (libxkbcommon): Switch to gexp. [arguments]: Avoid hardcoding inputs and locate them via relative paths instead. Signed-off-by: Ludovic Courtès --- gnu/packages/xdisorg.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 02e04ccf88..a16b882cea 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -505,13 +505,13 @@ avoiding password prompts when X11 forwarding has already been setup.") (native-inputs (list bison doxygen pkg-config python)) (arguments - `(#:configure-flags - (list (string-append "-Dxkb-config-root=" - (assoc-ref %build-inputs "xkeyboard-config") - "/share/X11/xkb") - (string-append "-Dx-locale-root=" - (assoc-ref %build-inputs "libx11") - "/share/X11/locale")))) + (list #:configure-flags + #~(list (string-append "-Dxkb-config-root=" + (search-input-directory %build-inputs + "share/X11/xkb")) + (string-append "-Dx-locale-root=" + (search-input-directory %build-inputs + "share/X11/locale"))))) (home-page "https://xkbcommon.org/") (synopsis "Library to handle keyboard descriptions") (description "Xkbcommon is a library to handle keyboard descriptions, -- cgit 1.4.1