From 8c39547fc258068e13e9dd14f6e7f290ed840428 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 9 May 2015 02:49:36 +0200 Subject: phc-intel: don't try to build on _grsec kernels It will fail. --- pkgs/os-specific/linux/phc-intel/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/os-specific/linux/phc-intel') diff --git a/pkgs/os-specific/linux/phc-intel/default.nix b/pkgs/os-specific/linux/phc-intel/default.nix index 1b4ee3218eb..ac60501929a 100644 --- a/pkgs/os-specific/linux/phc-intel/default.nix +++ b/pkgs/os-specific/linux/phc-intel/default.nix @@ -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 { -- cgit 1.4.1