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

Fix compilation on Elixir 1.15+ #60

Merged
merged 1 commit into from
May 31, 2023

Conversation

wojtekmach
Copy link
Contributor

Mix.ensure_application!/1 was added in Elixir 1.15.

To quote docs at https://hexdocs.pm/mix/Mix.html#ensure_application!/1

Ensures the given application from Erlang/OTP or Elixir and its dependencies are available in the path.

This is mostly used for Mix internal needs. In your own tasks, you should list the Erlang application dependencies under the :extra_applications section of your mix.exs.

Closes #53

`Mix.ensure_application!/1` was added in Elixir 1.15.

To quote https://hexdocs.pm/mix/Mix.html#ensure_application!/1

> Ensures the given application from Erlang/OTP or Elixir and its dependencies are available in the path.
>
> This is mostly used for Mix internal needs. In your own tasks, you should list the Erlang application dependencies under the :extra_applications section of your mix.exs.
@voltone
Copy link
Owner

voltone commented May 31, 2023

That's great, thanks!

@voltone voltone merged commit 11d04af into voltone:master May 31, 2023
kianmeng added a commit to kianmeng/finch that referenced this pull request Jul 5, 2023
This resolves compilation issue with Elixir 1.15.
See voltone/x509#60
kianmeng added a commit to kianmeng/finch that referenced this pull request Jul 5, 2023
List of changes:
- Bump x509 dep (0.8.3 => 0.8.7), see voltone/x509#60
- Bump Elixir/OTP and GitHub Actions
kianmeng added a commit to kianmeng/finch that referenced this pull request Jul 5, 2023
List of changes:
- Bump x509 dep (0.8.3 => 0.8.7), see voltone/x509#60
- Bump Elixir/OTP and GitHub Actions
@wojtekmach wojtekmach deleted the wm-fix-compilation branch July 5, 2023 14:38
k-asm added a commit to k-asm/elixir-kitten-blue that referenced this pull request Sep 4, 2023
NoBrainSkull added a commit to NoBrainSkull/site_encrypt that referenced this pull request Nov 10, 2023
- Using {:verify, :verify_none} option (used to be the default option
  but was replaced by :verify_peer in [:ssl
  v11.0](https://www.erlang.org/doc/apps/ssl/notes#ssl-11.0))
- Upgrade X509 to v0.8.8 to avoid dep [compilation problem for elixir
  1.15+](voltone/x509#60)
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.

2 participants