Merge: glibc: allow easier overriding of linux headers package (#413735)
This commit is contained in:
commit
bf817a01f9
@ -260,6 +260,7 @@ stdenv.mkDerivation (
|
|||||||
|
|
||||||
// (removeAttrs args [
|
// (removeAttrs args [
|
||||||
"withLinuxHeaders"
|
"withLinuxHeaders"
|
||||||
|
"linuxHeaders"
|
||||||
"withGd"
|
"withGd"
|
||||||
"enableCET"
|
"enableCET"
|
||||||
"postInstall"
|
"postInstall"
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
callPackage,
|
callPackage,
|
||||||
withLinuxHeaders ? true,
|
withLinuxHeaders ? true,
|
||||||
|
linuxHeaders ? null,
|
||||||
profilingLibraries ? false,
|
profilingLibraries ? false,
|
||||||
withGd ? false,
|
withGd ? false,
|
||||||
enableCET ? if stdenv.hostPlatform.isx86_64 then "permissive" else false,
|
enableCET ? if stdenv.hostPlatform.isx86_64 then "permissive" else false,
|
||||||
@ -19,7 +20,7 @@ let
|
|||||||
];
|
];
|
||||||
in
|
in
|
||||||
|
|
||||||
(callPackage ./common.nix { inherit stdenv; } {
|
(callPackage ./common.nix { inherit stdenv linuxHeaders; } {
|
||||||
inherit
|
inherit
|
||||||
withLinuxHeaders
|
withLinuxHeaders
|
||||||
withGd
|
withGd
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user