Unverified Commit a6b7b513 authored by Niklas Korz's avatar Niklas Korz Committed by GitHub
Browse files

amiberry: backport cmake-4 fix (#456096)

parents b1b2a35a 9245cfdd
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  copyDesktopItems,
  makeWrapper,
@@ -28,6 +29,15 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-EOoVJYefX2pQ2Zz9bLD1RS47u/+7ZWTMwZYha0juF64=";
  };

  patches = [
    # cmake-4 support
    (fetchpatch {
      name = "cmake-4.patch";
      url = "https://github.com/BlitterStudio/amiberry/commit/dbd85a37147603875b9ca51a9409c65a26c0d60a.patch?full_index=1";
      hash = "sha256-w8Z9yhNafbXWv3nV8GDNpks2R1+M12uG1mWWrwVaEUk=";
    })
  ];

  nativeBuildInputs = [
    cmake
    copyDesktopItems