Closed sax closed 11 months ago
Oh, just before anyone notices... the stack trace shown above is from 0.17.10, but the same stack trace is shown when compiling 0.18.0.
.ez archives release is deprecated since v0.15, please migrate to Mix.install
based release https://github.com/elixir-lsp/elixir-ls#mixinstall-based-release. If you need to keep using the .ez archives release consider submitting a PR to https://github.com/rabbitmq/mix_task_archive_deps (it looks like all of the fixes on https://github.com/elixir-lsp/mix_task_archive_deps has been merged to the upstream version)
Great, thanks for the feedback!
Precheck
Environment
Current behavior
My current work team is installing ElixirLS via Nix. As a part of the recipe, the mix task
mix elixir_ls.release
is executed. This appears to runmix archive.build.deps
, which looks like it's the forked version of themix_task_archive_deps
package. This attempts to runMix.Dep.load_on_environment/1
, which seems to have disappeared in Elixir 1.16.Logs:
Repo steps:
mix elixir_ls.release
.Expected behavior
I would expect to be able to create an archive release of
elixir-ls
on the same version of Elixir that we are trying to upgrade to.Extra notes
I considered filing an issue with the forked repo of
mix_task_archive_deps
, but since it's a fork with issues disabled I'm unable to file an issue there. It seems as if that project has not been kept up to date with upstream changes, so am unclear on a preferred solution to this would be. I'd be happy to contribute to solving this with some guidance.Thanks!