Skip to content

Commit 4049976

Browse files
authored
unbreak linux v5.10 on x86_64 by disabling OF_OVERLAY (#405841)
2 parents 7abfa48 + 1e6c445 commit 4049976

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkgs/os-specific/linux/kernel/common-config.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,10 @@ let
11021102

11031103
# enable support for device trees and overlays
11041104
OF = option yes;
1105-
OF_OVERLAY = option yes;
1105+
# OF_OVERLAY breaks v5.10 on x86_64, see https://github.com/NixOS/nixpkgs/issues/403985
1106+
OF_OVERLAY = lib.mkIf (!(lib.versionOlder version "5.15" && stdenv.hostPlatform.isx86_64)) (
1107+
option yes
1108+
);
11061109

11071110
# Enable initrd support.
11081111
BLK_DEV_INITRD = yes;

0 commit comments

Comments
 (0)