logoalt Hacker News

oconnor663yesterday at 4:57 AM3 repliesview on HN

> We recommend using Nix to easily ensure you are running the right versions of the tools and libraries.

Ooof I remember when everything used to be like this. Cargo has really spoiled me.


Replies

kamovyesterday at 9:28 AM

You can use both Nix and Cargo at the same time, and they accomplish different things. Nix's purpose is more like rustup, except it works for each program on your computer

skaviyesterday at 9:33 PM

Cargo does not attempt to solve the same problems as Nix (if you depend on any software not written in Rust). A checked in Nix shell is genuinely great documentation on the expected system environment.

ValtteriLyesterday at 7:19 AM

Can Cargo install deployment tools like Ansible? I find myself using nix for those kind of tools despite how good $lang package manager is.

show 2 replies