mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
phc-intel: don't try to build on _grsec kernels
It will fail.
This commit is contained in:
parent
f904376904
commit
9870b076f5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user