Rust Toolchains using Nix
Published , contains 80 wordsThere are many ways to Rust using Nix. This article:
- Reviews existing articles on setting up Rust toolchains
 - Describes several of the approaches ordered by popularity, maturity and benefits.
 
  References
  
    
  
- Documentation for Rust language frameworks in nixpkgs
 - Development Environment for Rust on the nixlang wiki
 - Nix shell with rustup on the ayats.org blog
 
  Just rustup
  
    
  
The simplest way to get started is just adding rustup to your system configuration:
{ pkgs, ... }: {
  environment.systemPackages = [
    pkgs.rustup
  ];
}