mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-30 16:12:58 -05:00
gnu: guix: Fix cross-building.
* gnu/packages/package-management.scm (guix)[arguments]: In custom 'set-font-path phase also search native-inputs for the input directory.
This commit is contained in:
parent
6192acf8b7
commit
ef5a05bac8
1 changed files with 2 additions and 2 deletions
|
@ -275,11 +275,11 @@ (define-public guix
|
|||
(string-append "\"" xz "/bin/xz")))))
|
||||
#t))
|
||||
(add-before 'build 'set-font-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||
;; Tell 'dot' where to look for fonts.
|
||||
(setenv "XDG_DATA_DIRS"
|
||||
(dirname
|
||||
(search-input-directory inputs
|
||||
(search-input-directory (or native-inputs inputs)
|
||||
"share/fonts")))))
|
||||
(add-before 'check 'copy-bootstrap-guile
|
||||
(lambda* (#:key system target inputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue