kernel: add deterministic-uname to moduleBuildDependencies
This commit is contained in:
parent
567e81c363
commit
221ef67e1c
@ -57,8 +57,12 @@ let
|
|||||||
hasAttr getAttr optional optionals optionalString optionalAttrs maintainers platforms;
|
hasAttr getAttr optional optionals optionalString optionalAttrs maintainers platforms;
|
||||||
|
|
||||||
# Dependencies that are required to build kernel modules
|
# Dependencies that are required to build kernel modules
|
||||||
moduleBuildDependencies = [ perl libelf ]
|
moduleBuildDependencies = [
|
||||||
++ optional (lib.versionAtLeast version "5.13") zstd;
|
perl
|
||||||
|
libelf
|
||||||
|
# module makefiles often run uname commands to find out the kernel version
|
||||||
|
(buildPackages.deterministic-uname.override { inherit modDirVersion; })
|
||||||
|
] ++ optional (lib.versionAtLeast version "5.13") zstd;
|
||||||
|
|
||||||
drvAttrs = config_: kernelConf: kernelPatches: configfile:
|
drvAttrs = config_: kernelConf: kernelPatches: configfile:
|
||||||
let
|
let
|
||||||
|
Loading…
Reference in New Issue
Block a user