phc-intel: don't try to build on _grsec kernels
It will fail.
This commit is contained in:
parent
4c5d3f5a71
commit
8c39547fc2
@ -1,8 +1,10 @@
|
|||||||
{ stdenv, fetchurl, kernel, which }:
|
{ stdenv, fetchurl, kernel, which }:
|
||||||
|
|
||||||
assert stdenv.isLinux;
|
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";
|
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
|
let version = "0.4.0-rev17"; in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user