Unverified Commit 40499761 authored by K900's avatar K900 Committed by GitHub
Browse files

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

parents 7abfa48d 1e6c4457
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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;