diff --git a/pkgs/development/libraries/glibc/2.32-10.patch.gz b/pkgs/development/libraries/glibc/2.32-10.patch.gz new file mode 100644 index 00000000000..6141f08efad Binary files /dev/null and b/pkgs/development/libraries/glibc/2.32-10.patch.gz differ diff --git a/pkgs/development/libraries/glibc/common.nix b/pkgs/development/libraries/glibc/common.nix index 630b6b82446..dd76745e1fe 100644 --- a/pkgs/development/libraries/glibc/common.nix +++ b/pkgs/development/libraries/glibc/common.nix @@ -42,7 +42,7 @@ let version = "2.32"; - patchSuffix = ""; + patchSuffix = "-10"; sha256 = "0di848ibffrnwq7g2dvgqrnn4xqhj3h96csn69q4da51ymafl9qn"; in @@ -59,6 +59,15 @@ stdenv.mkDerivation ({ patches = [ + /* No tarballs for stable upstream branch, only https://sourceware.org/git/?p=glibc.git + and using git or something would complicate bootstrapping. + Fortunately it's not too big with 2.32-10. + $ git checkout release/2.32/master; git describe + glibc-2.32-10-g0b9460d22e + $ git show --reverse glibc-2.32.. | gzip -n -9 --rsyncable - > 2.32-10.patch.gz + */ + ./2.32-10.patch.gz + /* Allow NixOS and Nix to handle the locale-archive. */ ./nix-locale-archive.patch