Unverified Commit 6e131508 authored by Atemu's avatar Atemu Committed by GitHub
Browse files

darling-dmg: fix compilation (#405507)

parents 0f2f4519 f1652b76
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch2,
  cmake,
  fuse,
  zlib,
@@ -25,6 +26,15 @@ stdenv.mkDerivation {
    hash = "sha256-QM75GuFHl2gRlRw1BmTexUE1d9YNnhG0qmTqmE9kMX4=";
  };

  patches = [
    # Fix compilation
    (fetchpatch2 {
      name = "cmake-cxx-standard-17.patch";
      url = "https://github.com/darlinghq/darling-dmg/pull/105/commits/b7c620f76a5f76748b3d14dd2a58e77f8b6ed0c0.patch";
      hash = "sha256-i1lisEiwYm4IxgKmBYnjscvW6ObT7XGLVbjW2i5yXV4=";
    })
  ];

  nativeBuildInputs = [ cmake ];
  buildInputs = [
    fuse