-
Notifications
You must be signed in to change notification settings - Fork 268
[WIP] Export the devbox global prefix of the packages that have been installed. #1058
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
Conversation
This is useful! While you're here, can you add |
@rbelem are you mostly interested in the global root? (the one @bketelsen mentioned) As implemented in this PR it will export for all devbox projects so we may need to special case global or use a different predictable env var for each. Can you share a bit more about your use case? Do you need the nix profile specifically? Or binaries that have been installed by devbox ( |
@mikeland86, I think this is needed for projects and global. I saw myself making an env var for both. |
@mikeland86 Looks flawless to me! And how would the ROOT path that @bketelsen mentioned work? |
@rbelem I was thinking making |
This is a winnerOn May 31, 2023, at 5:45 PM, Mike Landau ***@***.***> wrote:
@rbelem I was thinking making devbox path (and devbox global path) point to the root.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@mikeland86 and |
@rbelem yep I think so. Open to suggestions if you have a strong opinion. Main point of contention is deciding if this merits a new top level command. But we're on board with adding the functionality. |
@mikeland86 Look good to me :D ty \o/ |
## Summary Inspired by #1058 ## How was it tested? ```bash ➜ devbox git:(landau/global-path) devbox global path /Users/mike/.local/share/devbox/global/default ```
Summary
How was it tested?