mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01: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
This commit is contained in:
parent
7b82f5a3fb
commit
a452b43ee5
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@ stdenv.mkDerivation rec {
|
||||||
license = with licenses; [ lgpl21 gpl2 mit ];
|
license = with licenses; [ lgpl21 gpl2 mit ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.bjornfor ];
|
maintainers = [ maintainers.bjornfor ];
|
||||||
broken = (kernel.features.grsecurity or false);
|
broken =
|
||||||
|
(builtins.compareVersions kernel.version "3.18" == -1) ||
|
||||||
|
(kernel.features.grsecurity or false);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue