mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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 }:
|
||||
|
||||
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