unbreak linux v5.10 on x86_64 by disabling OF_OVERLAY (#405841)

authored by K900 and committed by GitHub 40499761 7abfa48d

+4 -1
+4 -1
pkgs/os-specific/linux/kernel/common-config.nix
··· 1102 1103 # enable support for device trees and overlays 1104 OF = option yes; 1105 - OF_OVERLAY = option yes; 1106 1107 # Enable initrd support. 1108 BLK_DEV_INITRD = yes;
··· 1102 1103 # enable support for device trees and overlays 1104 OF = 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 + ); 1109 1110 # Enable initrd support. 1111 BLK_DEV_INITRD = yes;