Merge: glibc: allow easier overriding of linux headers package (#413735)

authored by Maximilian Bosch and committed by GitHub bf817a01 f1a85c37

+3 -1
+1
pkgs/development/libraries/glibc/common.nix
··· 260 260 261 261 // (removeAttrs args [ 262 262 "withLinuxHeaders" 263 + "linuxHeaders" 263 264 "withGd" 264 265 "enableCET" 265 266 "postInstall"
+2 -1
pkgs/development/libraries/glibc/default.nix
··· 3 3 stdenv, 4 4 callPackage, 5 5 withLinuxHeaders ? true, 6 + linuxHeaders ? null, 6 7 profilingLibraries ? false, 7 8 withGd ? false, 8 9 enableCET ? if stdenv.hostPlatform.isx86_64 then "permissive" else false, ··· 19 20 ]; 20 21 in 21 22 22 - (callPackage ./common.nix { inherit stdenv; } { 23 + (callPackage ./common.nix { inherit stdenv linuxHeaders; } { 23 24 inherit 24 25 withLinuxHeaders 25 26 withGd