summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/generic.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-02-02 18:13:41 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-02-06 22:13:57 +0200
commit685ceb999e71352caf333a9c779828bff0ebe64e (patch)
tree9eb317c1b96d7131d42bd8c9093042ad415c4ae0 /pkgs/os-specific/linux/kernel/generic.nix
parent5e8ae8d5975ee93ce9bbf6c536591037cd518a66 (diff)
downloadnixpkgs-685ceb999e71352caf333a9c779828bff0ebe64e.tar
nixpkgs-685ceb999e71352caf333a9c779828bff0ebe64e.tar.gz
nixpkgs-685ceb999e71352caf333a9c779828bff0ebe64e.tar.bz2
nixpkgs-685ceb999e71352caf333a9c779828bff0ebe64e.tar.lz
nixpkgs-685ceb999e71352caf333a9c779828bff0ebe64e.tar.xz
nixpkgs-685ceb999e71352caf333a9c779828bff0ebe64e.tar.zst
nixpkgs-685ceb999e71352caf333a9c779828bff0ebe64e.zip
kernel: Fix missing config options from platform
common-config.nix has:

${kernelPlatform.kernelExtraConfig or ""}

and indeed kernelExtraConfig is in hostPlatform.platform, and not in
hostPlatform. (Ugh.).
Diffstat (limited to 'pkgs/os-specific/linux/kernel/generic.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/generic.nix b/pkgs/os-specific/linux/kernel/generic.nix
index e00bda692b3..24d5ed30ec4 100644
--- a/pkgs/os-specific/linux/kernel/generic.nix
+++ b/pkgs/os-specific/linux/kernel/generic.nix
@@ -46,7 +46,7 @@ let
 
   config = import ./common-config.nix {
     inherit stdenv version extraConfig;
-    kernelPlatform = hostPlatform;
+    kernelPlatform = hostPlatform.platform;
     features = kernelFeatures; # Ensure we know of all extra patches, etc.
   };