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 compatibility for libev detection #679

Merged
merged 2 commits into from
Apr 1, 2019
Merged

Esy compatibility for libev detection #679

merged 2 commits into from
Apr 1, 2019

Conversation

anmonteiro
Copy link
Contributor

@anmonteiro anmonteiro commented Mar 27, 2019

Esy does not have an opam binary in the path, and the libev detection introduced in c1e48e4 and released in 4.2.0 does not work with esy.

The proposed fix defaults to looking for the environment variables that the libev packages for esy sets (https://github.com/esy-packages/libev/blob/master/package.json#L16-L26)

@aantron
Copy link
Collaborator

aantron commented Mar 27, 2019

Thanks, I'll be able to take a good look in 48+ hours. We'll do a 4.2.1 release after fixing this (or is this something that can/should be patched in the esy overlay?).

@anmonteiro
Copy link
Contributor Author

This would need a patch release, since we can't use Lwt + libev at all in esy with 4.2.0 right now.

@aantron aantron added this to the 4.2.1 milestone Mar 27, 2019
@aantron aantron merged commit 2abdcd1 into ocsigen:master Apr 1, 2019
@aantron
Copy link
Collaborator

aantron commented Apr 1, 2019

Thanks!

@jordwalke
Copy link

Thank you.

@aantron
Copy link
Collaborator

aantron commented Apr 2, 2019

(FYI releasing this today to opam)

@anmonteiro anmonteiro deleted the anmonteiro/esy-compat branch April 2, 2019 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants