[Backport release-25.05] unbreak linux v5.10 on x86_64 by disabling OF_OVERLAY (#409847)

This commit is contained in:
K900 2025-05-22 21:25:28 +03:00 committed by GitHub
commit 2225637595
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1102,7 +1102,10 @@ let
# enable support for device trees and overlays
OF = option yes;
OF_OVERLAY = option yes;
# OF_OVERLAY breaks v5.10 on x86_64, see https://github.com/NixOS/nixpkgs/issues/403985
OF_OVERLAY = lib.mkIf (!(lib.versionOlder version "5.15" && stdenv.hostPlatform.isx86_64)) (
option yes
);
# Enable initrd support.
BLK_DEV_INITRD = yes;