From 023e6c81e4d8e370387e86e34ce9e202830e768c Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 26 Jun 2023 12:37:06 -0400 Subject: [PATCH] Update README --- README.md | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index fc6c577..c1f096a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -A template Rust project with fully functional and no-frills Nix support, as well as builtin VSCode configuration to get IDE experience without any manual setup (just open in VSCode and accept the suggestions). Based on `dream2nix` and [nix-cargo-integration](https://github.com/yusdacra/nix-cargo-integration). +A template Rust project with fully functional and no-frills Nix support (uses `dream2nix`), as well as builtin VSCode configuration to get IDE experience without any manual setup (just open in VSCode and accept the suggestions). Note: If you are looking for the original template based on [this blog post](https://srid.ca/rust-nix)'s use of `crate2nix`, browse from [this tag](https://github.com/srid/rust-nix-template/tree/crate2nix). @@ -11,7 +11,7 @@ Note: If you are looking for the original template based on [this blog post](htt ## Development (Flakes) -This repo uses [Flakes](https://nixos.wiki/wiki/Flakes) from the get-go, but compat is provided for traditional nix-shell/nix-build as well (see the section below). +This repo uses [Flakes](https://nixos.wiki/wiki/Flakes) from the get-go. ```bash # Dev shell @@ -24,17 +24,4 @@ nix develop -c cargo run nix build ``` -## Development (Legacy Nix) - -```bash -# Dev shell -nix-shell - -# run via cargo -nix-shell --run 'cargo run' - -# build -nix-build -``` - -There is also a `bin/run` script which starts 'cargo watch'; it is used by VSCode as well (`Ctrl+Shift+B`). +There are also [mission-control](https://github.com/Platonic-Systems/mission-control) shell commands provided in the devShell.