Merge pull request #173679 from risicle/ris-moarvm-mimalloc-darwin-fix

authored by

Ben Siraphob and committed by
GitHub
1aacecae a6691ae1

+11
+11
pkgs/development/interpreters/rakudo/moarvm.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 + , fetchpatch 4 5 , perl 5 6 , CoreServices 6 7 , ApplicationServices ··· 14 15 url = "https://moarvm.org/releases/MoarVM-${version}.tar.gz"; 15 16 sha256 = "sha256-+3HNE5EkZEgrmbM/DAbp/XxRoVHG5jKpIgz5PFhV/a8="; 16 17 }; 18 + 19 + patches = [ 20 + (fetchpatch { 21 + name = "mimalloc-older-macos-fixes.patch"; 22 + url = "https://github.com/microsoft/mimalloc/commit/40e0507a5959ee218f308d33aec212c3ebeef3bb.patch"; 23 + stripLen = 1; 24 + extraPrefix = "3rdparty/mimalloc/"; 25 + sha256 = "1gcbn1850vy7xzalhn9ffnsg6x1ywi3fmnxvnal3m6lmb4kz5kb1"; 26 + }) 27 + ]; 17 28 18 29 postPatch = '' 19 30 patchShebangs .