Repository navigation
Revert "update nushell to use coreutils v0.1.0 crates (#15896)" - #15932
Merged
Merged
Conversation
This reverts commit b886fd3.
fdncred
added a commit
that referenced
this pull request
Sep 24, 2025
This is a follow up to #15896 and #15932 and updates nushell to use the coreutils crates v0.2.2. We should try to stay on the latest coreutils version as much as possible. Coreutils has reverted the main problem we had which was the need to have a `PROJECT_NAME_FOR_VERSION_STRING` environment variable. For reference, https://github.com/uutils/coreutils/blob/5287738e9c408cf665e5a87c4df03bdc1685bb8f/docs/src/release-notes/0.2.0.md?plain=1#L528 uutils/coreutils#8360 ## Release notes summary - What our users need to know N/A ## Tasks after submitting N/A
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
cargo installignores.cargo/config.toml, making packages publishable-but-unbuildable, allthewhile they work when built normally rust-lang/cargo#14001PROJECT_NAME_FOR_VERSION_STRINGenvironment variable not defined at compile time when installingcoreutilsuutils/coreutils#7992Description
coreutils0.1.0 broke ourcargo installbecause it required the env variablePROJECT_NAME_FOR_VERSION_STRINGto be set.Normally this is done by our
.cargo/config.tomlbut when runningcargo install nu, that file is not considered. This did not crash whilecargo publishbecause of rust-lang/cargo#14001. The uutils team is also aware of that issue uutils/coreutils#7992. We should be able to stick to an older version until they fixed that issue.