From a459e511746bce040b91c80de2c9e82ea83e4aec Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 18 May 2021 10:09:34 -0700 Subject: [PATCH] glibc: restore version passthru downstream packages use the major.minor version to determine ABI compatibility and paths which do not depend on patch version --- pkgs/development/libraries/glibc/common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/glibc/common.nix b/pkgs/development/libraries/glibc/common.nix index 0f580baba33..3597dd70f2c 100644 --- a/pkgs/development/libraries/glibc/common.nix +++ b/pkgs/development/libraries/glibc/common.nix @@ -186,6 +186,9 @@ stdenv.mkDerivation ({ # prevent a retained dependency on the bootstrap tools in the stdenv-linux # bootstrap. BASH_SHELL = "/bin/sh"; + + # Used by libgcc, elf-header, and others to determine ABI + passthru = { inherit version; }; } // (removeAttrs args [ "withLinuxHeaders" "withGd" ]) //