Unverified Commit 6e123b59 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

solvespace: use system mimalloc (#450858)

parents dab90ffd c99f33fb
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  pkg-config,
  wrapGAppsHook3,
@@ -23,6 +24,7 @@
  libspnav,
  libthai,
  libxkbcommon,
  mimalloc,
  pangomm,
  pcre,
  util-linuxMinimal, # provides libmount
@@ -42,6 +44,13 @@ stdenv.mkDerivation rec {
    fetchSubmodules = true;
  };

  patches = [
    (fetchpatch {
      url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-gfx/solvespace/files/solvespace-3.1-use-system-mimalloc.patch";
      hash = "sha256-XEeh6vb4fYsTmAro1ZR/8NyFl+Y+S+m/Lx+tA7o2omM=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config
@@ -67,6 +76,7 @@ stdenv.mkDerivation rec {
    libspnav
    libthai
    libxkbcommon
    mimalloc
    pangomm
    pcre
    util-linuxMinimal