7 lines
232 B
Nix
7 lines
232 B
Nix
{ pkgs ? (import <nixpkgs>) { }, lib ? pkgs.lib}:
|
|
let
|
|
fenix = import (fetchTarball "https://github.com/nix-community/fenix/archive/main.tar.gz") { };
|
|
in
|
|
pkgs.mkShell {
|
|
buildInputs = with fenix.latest; [ cargo rustc rustfmt ];
|
|
}
|