Unverified Commit 99c7a5db authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

lenmus: fix build issue due to cmake 4 (#454044)

parents c95fb2bd f0553e3f
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchpatch,
  fetchFromGitHub,
  cmake,
  pkg-config,
@@ -31,6 +32,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-qegOAc6vs2+6VViDHVjv0q+qjLZyTT7yPF3hFpTt5zE=";
  };

  patches = [
    (fetchpatch {
      name = "bump-cmake-minimum-required-version.patch";
      url = "https://github.com/lenmus/lenmus/commit/cc250ca4ce9a90d8dddb0fc359c5a80609cdafcb.patch";
      hash = "sha256-aP+ooaSi6vHk+g1XftfjZ39zAgYts1vOCqZWWZhJ+G8=";
    })
  ];

  env = {
    NIX_CFLAGS_COMPILE = "-fpermissive";
  };