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

This commit is contained in:
Maximilian Bosch 2025-06-07 14:45:30 +02:00 committed by GitHub
commit bf817a01f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -260,6 +260,7 @@ stdenv.mkDerivation (
// (removeAttrs args [
"withLinuxHeaders"
"linuxHeaders"
"withGd"
"enableCET"
"postInstall"

View File

@ -3,6 +3,7 @@
stdenv,
callPackage,
withLinuxHeaders ? true,
linuxHeaders ? null,
profilingLibraries ? false,
withGd ? false,
enableCET ? if stdenv.hostPlatform.isx86_64 then "permissive" else false,
@ -19,7 +20,7 @@ let
];
in
(callPackage ./common.nix { inherit stdenv; } {
(callPackage ./common.nix { inherit stdenv linuxHeaders; } {
inherit
withLinuxHeaders
withGd