Skip to content

Revert "update nushell to use coreutils v0.1.0 crates (#15896)" - #15932

Merged
cptpiepmatz merged 1 commit into
nushell:mainfrom
cptpiepmatz:revert-coreutils-0.1
Jun 10, 2025
Merged

cptpiepmatz merged 1 commit into
nushell:mainfrom
cptpiepmatz:revert-coreutils-0.1

Conversation

@cptpiepmatz

Copy link
Copy Markdown
Member

Description

coreutils 0.1.0 broke our cargo install because it required the env variable PROJECT_NAME_FOR_VERSION_STRING to be set.
Normally this is done by our .cargo/config.toml but when running cargo install nu, that file is not considered. This did not crash while cargo publish because 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.

@cptpiepmatz
cptpiepmatz merged commit 126d11f into nushell:main Jun 10, 2025
@cptpiepmatz
cptpiepmatz deleted the revert-coreutils-0.1 branch June 10, 2025 19:37
@github-actions github-actions Bot added this to the v0.105.0 milestone Jun 10, 2025
@hustcer hustcer modified the milestones: v0.105.0, v0.106.0 Jun 10, 2025
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants