docs: add commands example

This commit is contained in:
Santiago Fraire 2023-06-23 19:31:43 +02:00
parent 2cf8f2e746
commit 02b1bdb2fe
5 changed files with 183 additions and 3 deletions

View file

@ -1,5 +1,8 @@
# shell-environment
> **Warning**
> If you copy the flake.nix remember to `git add [-N|--intent-to-add] flake.nix`, otherwise it won't work
This example shows how to create a shell environment which
includes a diverse set of tools:
@ -14,9 +17,6 @@ You can search for more package in [nix packages](https://search.nixos.org/packa
## Usage
> **Warning**
> If you copy the flake.nix remember to add it to git, otherwise it won't work
The [`devShells` option](https://flake.parts/options/flake-parts.html#opt-perSystem.devShells) is used by the following command:
```sh