phc-intel: don't try to build on _grsec kernels

It will fail.
This commit is contained in:
Tobias Geerinckx-Rice 2015-05-09 02:49:36 +02:00 committed by Domen Kožar
parent f904376904
commit 9870b076f5

View File

@ -1,8 +1,10 @@
{ stdenv, fetchurl, kernel, which }:
assert stdenv.isLinux;
# don't bother with older versions, though some would probably work:
# Don't bother with older versions, though some would probably work:
assert stdenv.lib.versionAtLeast kernel.version "4.0";
# Disable on grsecurity kernels, which break module building:
assert !kernel.features ? grsecurity;
let version = "0.4.0-rev17"; in
stdenv.mkDerivation rec {