moarvm: 2022.07 -> 2023.02

This commit is contained in:
superwhiskers 2023-03-17 20:30:07 -05:00
parent b7a3087658
commit ac5ad78aba
No known key found for this signature in database
GPG Key ID: 4531D312EB99740A

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, perl
, CoreServices
, ApplicationServices
@ -9,23 +8,13 @@
stdenv.mkDerivation rec {
pname = "moarvm";
version = "2022.07";
version = "2023.02";
src = fetchurl {
url = "https://moarvm.org/releases/MoarVM-${version}.tar.gz";
hash = "sha256-M37wTRb4JvmUZcZTuSAGAo/iIL5o09z9BylhL09rW0Y=";
hash = "sha256-Z+IU1E1fYmeHyn8EQkBDpjkwikOnd3tvpBkmtyQODcU=";
};
patches = [
(fetchpatch {
name = "mimalloc-older-macos-fixes.patch";
url = "https://github.com/microsoft/mimalloc/commit/40e0507a5959ee218f308d33aec212c3ebeef3bb.patch";
stripLen = 1;
extraPrefix = "3rdparty/mimalloc/";
sha256 = "1gcbn1850vy7xzalhn9ffnsg6x1ywi3fmnxvnal3m6lmb4kz5kb1";
})
];
postPatch = ''
patchShebangs .
'' + lib.optionalString stdenv.isDarwin ''