From 3822003082478fb3d24af1b411ffe17406a83e93 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 17 Mar 2019 16:21:38 +0100 Subject: gnu: console-setup: Set absolute file name of 'cat' in 'ckbcomp'. * gnu/packages/xorg.scm (console-setup)[arguments]: Add 'patch-file-names' phase. --- gnu/packages/xorg.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index b553d4534a..3463ac85a7 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -6378,6 +6378,15 @@ output.") #:phases (modify-phases %standard-phases (delete 'configure) + (add-after 'unpack 'patch-file-names + (lambda _ + ;; 'ckbcomp' calls out to 'cat' (!). Give it the right file + ;; name. + (substitute* '("Keyboard/ckbcomp") + (("\"cat ") + (string-append "\"" (which "cat") + " "))) + #t)) (add-before 'build 'make-doubled-bdfs (lambda* (#:key inputs #:allow-other-keys) (invoke "make" "-C" "Fonts" -- cgit v1.2.3