Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esy: init at 0.5.8 (aborted attempt) #65098

Closed
wants to merge 1 commit into from
Closed

Conversation

Zimmi48
Copy link
Member

@Zimmi48 Zimmi48 commented Jul 19, 2019

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 pinning the ocaml version of esy to 4.05. 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.

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.
@Zimmi48 Zimmi48 closed this Nov 29, 2019
NickHu added a commit to NickHu/nixpkgs that referenced this pull request Apr 23, 2020
Following on from PR NixOS#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.
@NickHu NickHu mentioned this pull request Apr 23, 2020
10 tasks
@xavierzwirtz xavierzwirtz mentioned this pull request Aug 25, 2020
10 tasks
xavierzwirtz added a commit to xavierzwirtz/nixpkgs that referenced this pull request Sep 2, 2020
Following on from PR NixOS#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 and angstrom 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 and
NixOS#85835

Co-authored-by: Xavier Zwirtz <me@xavierzwirtz.com>
@Zimmi48 Zimmi48 deleted the esy branch September 14, 2020 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant