1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2025-03-06 08:56:51 +00:00
flake-parts/examples/shell-environments/README.md
2023-06-22 22:16:05 +02:00

28 lines
No EOL
569 B
Markdown

# shell-environment
This example shows how to create a shell environment which
includes a diverse set of tools:
```
terraform
wget
bat
git
```
You can search for more package in [nix packages](https://search.nixos.org/packages)
## Usage
The [`devShells` option](https://flake.parts/options/flake-parts.html#opt-perSystem.devShells) is used by the following command:
```sh
nix develop
```
You can have as many shells as you want, in this [flake.nix](./flake.nix), you also have
`another_env` which includes `curl`. To open it:
```sh
nix develop .#another_env
```