Skip to content

Commit

Permalink
FEAT: nix dev shell (#6)
Browse files Browse the repository at this point in the history
* FEAT: Added a Nix dev environment
  • Loading branch information
Cake authored Sep 24, 2023
1 parent 8297993 commit 1856165
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/target
.envrc
.direnv
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# faq-dmi-bot
# faq-dmi-bot

## Development

### Nix
To jumpstart a dev environment with Nix, use either direnv or nix-shell with the default.nix file as an input.
12 changes: 12 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{ pkgs ? import <nixpkgs> {}}:

pkgs.mkShell {
packages = with pkgs; [
rustc
cargo
rustfmt
rust-analyzer
clippy
];

}

0 comments on commit 1856165

Please sign in to comment.