;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu system locale) #:use-module (guix gexp) #:use-module (guix store) #:use-module (guix records) #:use-module (guix packages) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (srfi srfi-26) #:use-module (ice-9 match) #:export (locale-definition locale-definition? locale-definition-name l
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sram_slave/test.v')
0 files changed, 0 insertions, 0 deletions
rectory locales #:libc libc)) ((libcs ..1) (let ((dirs (map (lambda (libc) (single-locale-directory locales #:libc libc)) libcs))) (computed-file "locale-multiple-versions" (with-imported-modules '((guix build union)) #~(begin (use-modules (guix build union)) (union-build #$output (list #$@dirs)))) #:options '(#:local-build? #t #:substitutable? #f)))))) (define %default-locale-libcs ;; The libcs for which we build locales by default. (list (canonical-package glibc))) (define %default-locale-definitions ;; Arbitrary set of locales that are built by default. They are here mostly ;; to facilitate first-time use to some people, while others may have to add ;; a specific . (letrec-syntax ((utf8-locale (syntax-rules () ((_ name*) (locale-definition ;; Note: We choose "utf8", which is the ;; "normalized codeset". (name (string-append name* ".utf8")) (source name*) (charset "UTF-8"))))) (utf8-locales (syntax-rules () ((_ name ...) (list (utf8-locale name) ...))))) ;; Add "en_US.UTF-8" for compatibility with Guix 0.8. (cons (locale-definition (name "en_US.UTF-8") (source "en_US") (charset "UTF-8")) (utf8-locales "ca_ES" "cs_CZ" "da_DK" "de_DE" "el_GR" "en_AU" "en_CA" "en_GB" "en_US" "es_AR" "es_CL" "es_ES" "es_MX" "fi_FI" "fr_BE" "fr_CA" "fr_CH" "fr_FR" "ga_IE" "it_IT" "ja_JP" "ko_KR" "nb_NO" "nl_NL" "pl_PL" "pt_PT" "ro_RO" "ru_RU" "sv_SE" "tr_TR" "uk_UA" "vi_VN" "zh_CN")))) ;;; locale.scm ends here