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

28 lines
569 B
Markdown
Raw Normal View History

2023-06-15 22:13:02 +02:00
# 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
```