me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2023-05-28 14:43:15 +03:00
parent 6192acf8b7
commit ef5a05bac8
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 2 deletions

View File

@ -275,11 +275,11 @@ $(prefix)/etc/openrc\n")))
(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)