solvespace: use system mimalloc (#450858)

This commit is contained in:
Franz Pletz
2025-10-13 12:26:18 +00:00
committed by GitHub
+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