Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
esy: init at 0.6.2 WIP #85835
Motivation for this change
Issues to be solved
While the binary seems to work fine, there are some issues. The largest of which is that
It might also be necessary to get some binaries (
Aborted attempt to add the esy package manager to nixpkgs. I think I was almost there to get its dependencies, but I have no idea if building it like a dune package would have been enough to make it work. The last hurdle has been with cudf and dose3. The first problem when building dose3 was a string-byte problem, fixed by importing patches from the opam repository. I don't know how to fix the next one: dose3 attempts to find a cudf.cmxa in a folder that contains a cudf.cma but no cmxa. This submission is in the hope that this PR can be partially salvaged and my work was not totally useless.
Following on from PR #65098, this commit makes dose3 compile (all that was missing was to compile the native version of cudf), and also esy. Various packages have been updated too, and esy's node dependency esy-solve-cudf has been packaged. A new overlay is added for esyOcamlPackages, as mainline cmdliner doesn't successfully compile esy. It's anticipated that more esy-specific deviations might occur. Most of these changes were taken and adapted from esy/esy#994.