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
parent 4c5d3f5a71
commit 8c39547fc2

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 {