kmod: avoid mass rebuild

elf-header shouldn’t be needed on linux
This commit is contained in:
Matthew Bauer 2018-12-02 19:34:55 -06:00
parent cee7969561
commit 808f05808b

View file

@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook pkgconfig libxslt ];
buildInputs = [ xz elf-header ];
buildInputs = [ xz ] ++ lib.optional stdenv.isDarwin elf-header;
configureFlags = [
"--sysconfdir=/etc"