Skip to content

Conversation

ipince
Copy link
Contributor

@ipince ipince commented Feb 9, 2023

Summary

This makes devbox shell (with "nixless shell" feature enabled) reuse the computeNixEnv function that devbox run uses (with strict run feature enabled).

Next I will rename and unify the feature flags so we just have 1 to control both behaviors, and also better separate the implementation of shell, which is a bit complex atm. But this should help unblock @mohsenari in his work to add env vars.

How was it tested?

Ran devbox shell with/without "nixless shell" enabled and check environment vars looked as expected.

@ipince ipince requested review from savil and mohsenari February 9, 2023 18:11
@ipince ipince added this pull request to the merge queue Feb 9, 2023
@savil savil removed this pull request from the merge queue due to the queue being cleared Feb 9, 2023
@savil savil merged commit 03e9474 into main Feb 9, 2023
@savil savil deleted the rodrigo/shell-uses-pde branch February 9, 2023 20:28
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.

3 participants