linuxPackages.vhba: use kernel.moduleBuildDependencies instead of hardcoding libelf
This commit is contained in:
parent
2bd9f81abd
commit
a4d3c86e05
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];
|
||||
buildInputs = [ libelf ];
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user