Skip to content

devshell with rust tools#15

Merged
nothingmuch merged 6 commits into
mainfrom
devshell-rust-tools
May 22, 2026
Merged

devshell with rust tools#15
nothingmuch merged 6 commits into
mainfrom
devshell-rust-tools

Conversation

@nothingmuch
Copy link
Copy Markdown
Collaborator

Depends on #11

@nothingmuch nothingmuch force-pushed the devshell-rust-tools branch 2 times, most recently from fbd7dfe to b5bfa27 Compare May 22, 2026 16:20
@nothingmuch nothingmuch marked this pull request as ready for review May 22, 2026 16:21
@nothingmuch nothingmuch changed the title Devshell with rust tools devshell with rust tools May 22, 2026
Copy link
Copy Markdown
Collaborator

@arminsabouri arminsabouri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran nix develop
Then ran which just and just got a /home/.cargo/bin/just
Is this working as expected? I was expecting it to point some other binary in nix/store

I updated the export to be

devShells.default = mkDevShell toolchains.stable;

And got the result I expected
/nix/store/zn7n9xnw5vx6cqf1az8b8p1pfsmrl9vw-just-1.51.0/bin/just

Adds config.treefmt.build.wrapper to the devshell packages, making
the treefmt command available in the development environment.
@nothingmuch nothingmuch force-pushed the devshell-rust-tools branch from b5bfa27 to b51b643 Compare May 22, 2026 16:47
@nothingmuch nothingmuch force-pushed the devshell-rust-tools branch from b51b643 to d354d90 Compare May 22, 2026 16:51
@nothingmuch
Copy link
Copy Markdown
Collaborator Author

i appear to have screwed that in a conflict resolution

fwiw default should be nightly not stable IMO (better lints, etc)

Copy link
Copy Markdown
Collaborator

@arminsabouri arminsabouri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK

@nothingmuch nothingmuch merged commit a132957 into main May 22, 2026
3 checks passed
@nothingmuch nothingmuch deleted the devshell-rust-tools branch May 22, 2026 16:57
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