summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/os-specific/linux/phc-intel/default.nix4
1 files changed, 3 insertions, 1 deletions
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 {