cryptodev: pass moduleBuildDependencies from kernel

This commit is contained in:
Nick Cao 2022-02-10 09:34:22 +08:00
parent 72db02ec9e
commit bd8917e7ea
No known key found for this signature in database
GPG Key ID: 068A56CEF48FA2C1

View File

@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-vJQ10rG5FGbeEOqCUmH/pZ0P77kAW/MtUarywbtIyHw=";
};
nativeBuildInputs = kernel.moduleBuildDependencies;
hardeningDisable = [ "pic" ];
KERNEL_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";