Rust: Difference between revisions
imported>Legendofmiracles m indentation |
imported>Legendofmiracles m removed a space |
||
Line 92: | Line 92: | ||
== shell.nix example == | == shell.nix example == | ||
<syntaxHighlight lang="nix"> | <syntaxHighlight lang="nix"> | ||
{ pkgs ? import <nixpkgs> {} | { pkgs ? import <nixpkgs> {} }: | ||
pkgs.mkShell { | pkgs.mkShell { | ||
nativeBuildInputs = with pkgs; [ rustc cargo gcc ]; | nativeBuildInputs = with pkgs; [ rustc cargo gcc ]; |