1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

linuxPackages.vhba: use kernel.moduleBuildDependencies instead of hardcoding libelf

This commit is contained in:
Andreas Rammhold 2018-01-19 14:34:26 +01:00
parent 2bd9f81abd
commit a4d3c86e05
No known key found for this signature in database
GPG key ID: E432E410B5E48C86

View file

@ -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" ];