mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
pony-corral: fix compile with 0.63+
This commit is contained in:
parent
d99a72f271
commit
2de3b61a68
1 changed files with 10 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue