lttng-modules: use kernel.moduleBuildDependencies
Instead of explicitly depending on libelf, use kernel.moduleBuildDependencies which was introduced in 1e77d0b975ad ("kernel 4.14 require libelf to compile modules.").
This commit is contained in:
parent
2e26c117eb
commit
7dbd9a6378
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, kernel, libelf }:
|
||||
{ stdenv, fetchurl, kernel }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lttng-modules-${version}";
|
||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "07rs01zwr4bmjamplix5qz1c6mb6wdawb68vyn0w6wx68ppbpnxq";
|
||||
};
|
||||
|
||||
buildInputs = [ libelf ];
|
||||
buildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user