Created
May 15, 2022 03:04
-
-
Save federkamm/f7c6228d1d83b881658fd9de1fda85a4 to your computer and use it in GitHub Desktop.
makes the C.UTF-8 locale from Debian system available within GUIX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; guix package -f c-utf8-locale.scm | |
(define-module (c-utf8-locale) | |
#:use-module (gnu packages base) | |
#:use-module (guix packages) | |
#:use-module (guix gexp) | |
#:use-module (guix utils) | |
#:use-module (guix build-system copy)) | |
(define-public c-utf8-locale | |
(package | |
(name "c-utf8-locale") | |
(version (package-version glibc)) | |
(source (local-file "/usr/lib/locale/C.UTF-8" #:recursive? #t)) | |
(build-system copy-build-system) | |
(arguments `(#:install-plan '(("." ,(string-append "lib/locale/" (version-major+minor version) "/C.UTF-8"))))) | |
(synopsis "Copy Debian C.UTF-8 locale") | |
(description "A minimal locale supporting the UTF-8 character set") | |
(home-page (package-home-page glibc)) | |
(license (package-license glibc)))) | |
c-utf8-locale |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment