ocamlPackages.yojson: 2.2.2 → 3.0.0
ocamlPackages.atdgen-codec-runtime: 2.16.0 → 3.0.1
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
buildDunePackage,
|
||||
fetchpatch,
|
||||
github,
|
||||
cohttp,
|
||||
cohttp-lwt-unix,
|
||||
@@ -12,6 +13,14 @@ buildDunePackage {
|
||||
pname = "github-unix";
|
||||
inherit (github) version src;
|
||||
|
||||
patches = [
|
||||
# Compatibility with yojson 3.0
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mirage/ocaml-github/commit/487d7d413363921a8ffbb941610c2f71c811add8.patch";
|
||||
hash = "sha256-ThCsWRQKmlRg7rk8tlorsO87v8RWnBvocHDvgg/WWMA=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace unix/dune --replace 'github bytes' 'github'
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user