solvespace: use system mimalloc

Fixes #450793
This commit is contained in:
Ihar Hrachyshka
2025-10-10 20:56:08 -04:00
parent 13e80126f0
commit c99f33fb89
+10
View File
@@ -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