summary refs log tree commit diff
path: root/pkgs/os-specific/linux
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-05-19 19:45:40 +0000
committerAlyssa Ross <hi@alyssa.is>2023-05-19 19:45:40 +0000
commit8ee5a6fcbf8d98936fe1a336ac21ef1f31d28310 (patch)
tree412423a5e088d6f6994deb495111e43327c891dc /pkgs/os-specific/linux
parente6e389917a8c778be636e67a67ec958f511cc55d (diff)
downloadnixpkgs-8ee5a6fcbf8d98936fe1a336ac21ef1f31d28310.tar
nixpkgs-8ee5a6fcbf8d98936fe1a336ac21ef1f31d28310.tar.gz
nixpkgs-8ee5a6fcbf8d98936fe1a336ac21ef1f31d28310.tar.bz2
nixpkgs-8ee5a6fcbf8d98936fe1a336ac21ef1f31d28310.tar.lz
nixpkgs-8ee5a6fcbf8d98936fe1a336ac21ef1f31d28310.tar.xz
nixpkgs-8ee5a6fcbf8d98936fe1a336ac21ef1f31d28310.tar.zst
nixpkgs-8ee5a6fcbf8d98936fe1a336ac21ef1f31d28310.zip
linuxManualConfig: don't ignore cross config errors
All "pc" kernel configurations in lib.systems.examples build fine
without errors when cross compiling.
Diffstat (limited to 'pkgs/os-specific/linux')
-rw-r--r--pkgs/os-specific/linux/kernel/generic.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/generic.nix b/pkgs/os-specific/linux/kernel/generic.nix
index 5a39ef91500..56d89f67c64 100644
--- a/pkgs/os-specific/linux/kernel/generic.nix
+++ b/pkgs/os-specific/linux/kernel/generic.nix
@@ -47,8 +47,7 @@
   # symbolic name and `patch' is the actual patch.  The patch may
   # optionally be compressed with gzip or bzip2.
   kernelPatches ? []
-, ignoreConfigErrors ? stdenv.hostPlatform.linux-kernel.name != "pc" ||
-                       stdenv.hostPlatform != stdenv.buildPlatform
+, ignoreConfigErrors ? stdenv.hostPlatform.linux-kernel.name != "pc"
 , extraMeta ? {}
 
 , isZen      ? false