From b7e62e3e73256c62db9d0d2f3250bea01b69fd71 Mon Sep 17 00:00:00 2001 From: David Wronek Date: Sun, 22 Feb 2026 13:43:21 +0100 Subject: [PATCH] glibc: add gettext to nativeBuildInputs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `gettext` package is required in order to build and install the libc message catalogs. Previously, glibc was falling back to the C locale, even though the default locale has been changed (e.g. to de_DE.UTF-8): ``` rm: das Entfernen von 'file' ist nicht möglich: No such file or directory ``` With this change, the whole string will be translated to the desired locale: ``` rm: das Entfernen von 'file' ist nicht möglich: Datei oder Verzeichnis nicht gefunden ``` Signed-off-by: David Wronek --- pkgs/development/libraries/glibc/common.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/glibc/common.nix b/pkgs/development/libraries/glibc/common.nix index d7a384b00539..eb7f9fa9c9eb 100644 --- a/pkgs/development/libraries/glibc/common.nix +++ b/pkgs/development/libraries/glibc/common.nix @@ -33,6 +33,7 @@ libpng ? null, libidn2, bison, + gettext, python3Minimal, }: @@ -237,6 +238,7 @@ stdenv.mkDerivation ( depsBuildBuild = [ buildPackages.stdenv.cc ]; nativeBuildInputs = [ bison + gettext python3Minimal ] ++ extraNativeBuildInputs;