mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 10:16:45 +01:00
gnu: alacritty: Prepare for cross-compiling.
* gnu/packages/terminals.scm (alacritty)[arguments]: Adjust the custom 'install phase to use the native 'tic' command and to find the alacritty binary wherever it is located. Change-Id: I3117f41a97bb6a5dd1037544c1a27bc01e924396
This commit is contained in:
parent
8b8637079c
commit
448e90db80
1 changed files with 3 additions and 3 deletions
|
@ -1599,14 +1599,14 @@ (define-public alacritty
|
|||
(search-input-file inputs "lib/libxkbcommon.so")))))
|
||||
(replace 'install
|
||||
;; Upstream install script only takes care of executable.
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin"))
|
||||
(share (string-append out "/share"))
|
||||
(icons (string-append share "/icons/hicolor/scalable/apps"))
|
||||
(tic (search-input-file inputs "/bin/tic"))
|
||||
(tic (search-input-file (or native-inputs inputs) "/bin/tic"))
|
||||
(man (string-append share "/man/man1"))
|
||||
(alacritty-bin "target/release/alacritty"))
|
||||
(alacritty-bin (car (find-files "target" "^alacritty$"))))
|
||||
;; Install the executable.
|
||||
(install-file alacritty-bin bin)
|
||||
;; Install man pages.
|
||||
|
|
Loading…
Reference in a new issue