top | item 46179274

(no title)

oconnor663 | 2 months ago

> 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.

discuss

order

kamov|2 months ago

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

skavi|2 months ago

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.

ValtteriL|2 months ago

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

ris|2 months ago

Using nix to install Ansible, oof you're hurting me..

antonvs|2 months ago

Cargo isn't intended for that. If there was something like Ansible implemented in Rust, then you could use Cargo to install it.