Skip to content

Conversation

@jonatanklosko
Copy link
Member

After calling Mix.install/2, one may retrieve the installation directory with Mix.install_project_dir/0 and then use the MIX_INSTALL_RESTORE_PROJECT_DIR environment variable in another session as a starting point for a different Mix.install/2.

Implementation-wise we copy the restore dir contents, do the installation, then remove files for the dependencies that are not used.

jonatanklosko and others added 4 commits February 29, 2024 18:51
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: José Valim <jose.valim@gmail.com>
@josevalim josevalim merged commit 0bb305a into elixir-lang:main Feb 29, 2024
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants