mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
lttng-modules: mark as broken on kernel version <3.18
On linux 3.14, we get errors like
error: 'struct snd_soc_codec' has no member named 'name'
__string( name, codec->CODEC_NAME_FIELD )
indicating that the module is incompatible with the linux API
in this kernel version.
See https://hydra.nixos.org/build/33102405/nixlog/1/raw
(cherry picked from commit a452b43ee5)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
committed by
Domen Kožar
parent
7bd9321c6d
commit
30745200d3
@@ -25,7 +25,9 @@ stdenv.mkDerivation rec {
|
||||
license = with licenses; [ lgpl21 gpl2 mit ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
broken = (kernel.features.grsecurity or false);
|
||||
broken =
|
||||
(builtins.compareVersions kernel.version "3.18" == -1) ||
|
||||
(kernel.features.grsecurity or false);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user