gnu: console-setup: Set absolute file name of 'cat' in 'ckbcomp'.
* gnu/packages/xorg.scm (console-setup)[arguments]: Add 'patch-file-names' phase.master
parent
e6c46ec42e
commit
3822003082
|
@ -6378,6 +6378,15 @@ output.")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(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
|
(add-before 'build 'make-doubled-bdfs
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(invoke "make" "-C" "Fonts"
|
(invoke "make" "-C" "Fonts"
|
||||||
|
|
Reference in New Issue