Skip to content

Comments

Re-add Rust to Nix flake#191

Closed
TheSuperGamer20578 wants to merge 1 commit intoodilia-app:mainfrom
TheSuperGamer20578:nix-flake
Closed

Re-add Rust to Nix flake#191
TheSuperGamer20578 wants to merge 1 commit intoodilia-app:mainfrom
TheSuperGamer20578:nix-flake

Conversation

@TheSuperGamer20578
Copy link

When #172 removed rust-toolchain.toml, it completely removed Rust from flake.nix requiring developers who use Nix to have a system-wide Rust installation which defeats the purpose of having a Nix flake. This re-adds Rust to the Nix flake. Since stable is now used, the Cargo package from Nixpkgs can be used directly without rust-overlay.

I would also suggest removing the caching of ~/.cargo/bin/ in the Nix CI since all the Rust toolchain binaries are already retrieved using the flake, however I haven't touched the CI because I didn't want to break anything.

@TTWNO
Copy link
Member

TTWNO commented Jul 8, 2025

Sorry about the wait—I went on vacation just as you sent this in.

@TTWNO
Copy link
Member

TTWNO commented Jul 31, 2025

The GH UI made an unverified commit, so I will reopen this with the patch applied. Sorry for the hassle and thank you for your help!

@TTWNO TTWNO closed this Jul 31, 2025
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