mimalloc: 2.1.8 -> 3.0.3 (#374185)

authored by Weijia Wang and committed by GitHub 9acce3ea 5abe83ce

+7 -2
+2 -2
pkgs/by-name/mi/mimalloc/package.nix
··· 12 12 in 13 13 stdenv.mkDerivation rec { 14 14 pname = "mimalloc"; 15 - version = "2.1.8"; 15 + version = "3.0.3"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "microsoft"; 19 19 repo = "mimalloc"; 20 20 rev = "v${version}"; 21 - sha256 = "sha256-C0cqYiXxx8tW3plUZrfAJYKeY36opGKymkZ/CWrVuEI="; 21 + sha256 = "sha256-RjFMLInulyynrmyAg6Km/u9HGfcYeerkou0gQwCdhsA="; 22 22 }; 23 23 24 24 doCheck = !stdenv.hostPlatform.isStatic;
+5
pkgs/by-name/sv/sv-lang/package.nix
··· 22 22 sha256 = "sha256-msSc6jw2xbEZfOwtqwFEDIKcwf5SDKp+j15lVbNO98g="; 23 23 }; 24 24 25 + postPatch = '' 26 + substituteInPlace external/CMakeLists.txt \ 27 + --replace-fail 'set(mimalloc_min_version "2.1")' 'set(mimalloc_min_version "${lib.versions.majorMinor mimalloc.version}")' 28 + ''; 29 + 25 30 cmakeFlags = [ 26 31 # fix for https://github.com/NixOS/nixpkgs/issues/144170 27 32 "-DCMAKE_INSTALL_INCLUDEDIR=include"