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

feature request: opam switch import --deps-only #5200

Closed
hannesm opened this issue Jul 26, 2022 · 1 comment · Fixed by #5388
Closed

feature request: opam switch import --deps-only #5200

hannesm opened this issue Jul 26, 2022 · 1 comment · Fixed by #5388

Comments

@hannesm
Copy link
Member

hannesm commented Jul 26, 2022

Hello,

I've a feature request -- similar to opam install --deps-only, can we have a opam switch import --deps-only -- which only imports the dependencies, but not the root set, of a switch export file? I tried myself at such a patch, but lacked API knowledge to figure out the path.

Best,

Hannes

@dbuenzli
Copy link
Contributor

dbuenzli commented Jul 26, 2022

These things should likely be looked together with #2211. How to derive new switches from existing ones is a weak point at the moment.

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

Successfully merging a pull request may close this issue.

3 participants