From 1839efad14fe26fc68c51d3f42ccd56d4b172dba Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Wed, 15 Oct 2025 13:31:43 +0200 Subject: [PATCH] installer: Fix installing services depending on language. Follow-up to d2475833e4ca8238a8254b774a94bd8d973e8cb5. * gnu/installer/services.scm (system-services->configuration): Match on language without territory code. Change-Id: I70be271217732401be4c62dc472f1ebe4dafb764 --- gnu/installer/services.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/installer/services.scm b/gnu/installer/services.scm index b208a20138..1ef82c9651 100644 --- a/gnu/installer/services.scm +++ b/gnu/installer/services.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2021 Tobias Geerinckx-Rice ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2023 Denys Nykula +;;; Copyright © 2025 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -194,7 +195,8 @@ (if (target-hurd?) '%base-services/hurd '%base-services))) - (native-console-font (match (getenv "LANGUAGE") + (native-console-font (match (false-if-exception + (string-take (getenv "LANGUAGE") 2)) ((or "be" "bg" "el" "eo" "kk" "ky" "mk" "mn" "ru" "sr" "tg" "uk") "LatGrkCyr-8x16")