Merge pull request #143238 from eadwu/linux/zstd-compressed-modules

This commit is contained in:
Sandro 2022-07-08 15:27:37 +02:00 committed by GitHub
commit 19298c32ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,9 @@ let
hasAttr getAttr optional optionals optionalString optionalAttrs maintainers platforms;
# Dependencies that are required to build kernel modules
moduleBuildDependencies = [ perl ] ++ optional (lib.versionAtLeast version "4.14") libelf;
moduleBuildDependencies = [ perl ]
++ optional (lib.versionAtLeast version "4.14") libelf
++ optional (lib.versionAtLeast version "5.13") zstd;
installkernel = writeTextFile { name = "installkernel"; executable=true; text = ''