gnu: luit: Fix invalid locale.alias location.

Fixes <https://issues.guix.gnu.org/43592>.

* gnu/packages/xorg.scm (mkfontscale)[configure-flags]: Point to libx11's
locale.alias file via the '--with-localealiasfile' configure option.
[inputs]{libx11}: New input.
This commit is contained in:
Maxim Cournoyer 2022-07-11 15:06:19 -04:00
parent 85d7babe64
commit df44d359f3
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1548,8 +1548,14 @@ (define-public luit
;; should become obsolete with the next release.
(patches (search-patches "luit-posix.patch"))))
(build-system gnu-build-system)
(arguments
(list
#:configure-flags
#~(list (string-append "--with-localealiasfile="
(search-input-file
%build-inputs "share/X11/locale/locale.alias")))))
(inputs
(list libfontenc))
(list libfontenc libx11))
(native-inputs
(list pkg-config))
(home-page "https://www.x.org/wiki/")