pony-corral: fix compile with 0.63+

(cherry picked from commit 2de3b61a68)
This commit is contained in:
Morgan Jones 2026-05-31 20:22:53 -07:00 committed by github-actions[bot]
commit 3d14db37d5

View file

@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
ponyc,
nix-update-script,
}:
@ -17,6 +18,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-WblwyUm7mTdh3GvuSvO9bW6txbJeSS4qrvP4TeYk1uw=";
};
patches = [
# Should be in the next release, fixes compile on newer versions
(fetchpatch {
url = "https://github.com/ponylang/corral/commit/10b85e36e5c7ec4503ecb80ff51aa2342e459805.patch";
hash = "sha256-wDvoW1t/F3ieNlwS+HtxVzhlFX4TDTbAnxJnJnsCvtc=";
includes = [ "corral/semver/version/compare_versions.pony" ];
})
];
env.arch =
if stdenv.hostPlatform.isx86_64 then
"x86-64"