about summary refs log tree commit diff
path: root/pkgs/os-specific/linux
diff options
context:
space:
mode:
authorDaniel Peebles <pumpkingod@gmail.com>2014-08-29 01:49:32 -0400
committerDaniel Peebles <pumpkingod@gmail.com>2014-08-29 01:49:32 -0400
commit0bb14e4fea539bc247faffe7c9c4943eef54b118 (patch)
treee9e7637c048b4542e3defeb27826e8919d8e90de /pkgs/os-specific/linux
parent1eb08ee693619fa56513d0a79180b5c43752cad7 (diff)
downloadnixlib-0bb14e4fea539bc247faffe7c9c4943eef54b118.tar
nixlib-0bb14e4fea539bc247faffe7c9c4943eef54b118.tar.gz
nixlib-0bb14e4fea539bc247faffe7c9c4943eef54b118.tar.bz2
nixlib-0bb14e4fea539bc247faffe7c9c4943eef54b118.tar.lz
nixlib-0bb14e4fea539bc247faffe7c9c4943eef54b118.tar.xz
nixlib-0bb14e4fea539bc247faffe7c9c4943eef54b118.tar.zst
nixlib-0bb14e4fea539bc247faffe7c9c4943eef54b118.zip
Disable NFC on 3.17 or above
This should only be temporary, but there's a bug in the 3.17 rc1 and rc2 that leads to cyclic module dependencies and a segfault during the build process.
Diffstat (limited to 'pkgs/os-specific/linux')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 7a6ba94eb9fe..d5c754eebc7b 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -337,6 +337,8 @@ with stdenv.lib;
     ZSMALLOC y
   ''}
   ZRAM m
+  
+  ${optionalString (versionAtLeast version "3.17") "NFC? n"}
 
   ${kernelPlatform.kernelExtraConfig or ""}
   ${extraConfig}