8 lines
237 B
Nix
8 lines
237 B
Nix
|
{ pkgs ? import <nixpkgs> {} }:
|
||
|
pkgs.mkShell {
|
||
|
nativeBuildInputs = with pkgs; [ rustc cargo gcc wf-recorder ];
|
||
|
buildInputs = with pkgs; [ rustfmt clippy ];
|
||
|
|
||
|
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
||
|
}
|