linux: include zstd in module dependencies

This commit is contained in:
Edmund Wu 2021-10-08 21:46:34 -04:00
parent 11b6b35b90
commit 71c1d90be4
No known key found for this signature in database
GPG Key ID: 0D62311F6343DE1A

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 = ''