Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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 a452b43ee5fd5e5321b5b5e6a233a118c4efeb07)
Signed-off-by: Domen Kožar <domen@dev.si>

authored by Joachim Fasting and committed by Domen Kožar 30745200 7bd9321c

+3 -1
+3 -1
pkgs/os-specific/linux/lttng-modules/default.nix
··· 25 25 license = with licenses; [ lgpl21 gpl2 mit ]; 26 26 platforms = platforms.linux; 27 27 maintainers = [ maintainers.bjornfor ]; 28 - broken = (kernel.features.grsecurity or false); 28 + broken = 29 + (builtins.compareVersions kernel.version "3.18" == -1) || 30 + (kernel.features.grsecurity or false); 29 31 }; 30 32 31 33 }