gnu: console-setup: Set absolute file name of 'cat' in 'ckbcomp'.

* gnu/packages/xorg.scm (console-setup)[arguments]: Add
'patch-file-names' phase.
This commit is contained in:
Ludovic Courtès 2019-03-17 16:21:38 +01:00
parent e6c46ec42e
commit 3822003082
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 0 deletions

View File

@ -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"