Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#8455 (comment) Then the wording is misleading here. It reads to me as "using this syntax is the
sh
compatible way of expanding space-delimited strings into lists".The entire premise may be off here.
nix develop
does some magic to hook you into the builder executable that happens to bebash
. Assuming the user essentially doesis too much for this manual to take care of. It would be in the user's responsibility to know how to pass around environment variables in their shell of choice. This type of hack is nixos.wiki material in my opinion, which is essentially a large dump of such hacks (with a few exceptions that should become upstream documentation). Please point out if I'm completely mistaken here. Otherwise I suggest closing this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use of direnv does not seem that unreasonable of a use case and I learned about this particularity of word expansion the day I filed this PR after using zsh as my main shell for five years. It's not a terribly obvious thing. But I understand your view as well.