mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
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:
parent
e6c46ec42e
commit
3822003082
1 changed files with 9 additions and 0 deletions
|
@ -6378,6 +6378,15 @@ (define-public console-setup
|
|||
#: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"
|
||||
|
|
Loading…
Reference in a new issue