prl-tools: use kernel.moduleBuildDependencies instead of libelf

This commit is contained in:
Jörg Thalheim 2018-03-02 09:18:57 +00:00
parent 52747120c1
commit 45fa79d43b

View File

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "pic" "format" ];
# also maybe python2 to generate xorg.conf
nativeBuildInputs = [ p7zip undmg libelf ] ++ lib.optionals (!libsOnly) [ makeWrapper ];
nativeBuildInputs = [ p7zip undmg ] ++ lib.optionals (!libsOnly) [ makeWrapper ] ++ kernel.moduleBuildDependencies;
inherit libsOnly;