Skip to content

Commit

Permalink
use rust stuff in the dev shell
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Aug 24, 2021
1 parent 7633bfd commit d81bec4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion flake.nix
Expand Up @@ -33,6 +33,15 @@
defaultApp = apps.similar-sort;

# `nix develop`
devShell = pkgs.mkShell { nativeBuildInputs = [ pkgs.go ]; };
devShell = pkgs.mkShell {
nativeBuildInputs = [
pkgs.cargo
pkgs.cargo-edit
pkgs.cargo-watch
pkgs.rustPackages.clippy
pkgs.rustc
pkgs.rustfmt
];
};
});
}

0 comments on commit d81bec4

Please sign in to comment.