Move foreign dev shells to flake outputs

This commit is contained in:
Charlotte Van Petegem 2022-04-30 16:06:29 +02:00
parent b451416d6f
commit 311770ad2e
No known key found for this signature in database
GPG key ID: 019E764B7184435A
11 changed files with 61 additions and 215 deletions

View file

@ -9,11 +9,9 @@ store.
## Setting up a new dev environment
* Create a new `*.nix` file in the shells directory that describes the environment (this is the hard part).
* Add a shell to the devShells output in `flake.nix`.
* Execute `use_nix > .envrc` to initialize the `.envrc` file.
* Execute `ln -s /path/to/correct/file.nix shell.nix`.
* Execute `use_flake /path/to/repo#name-of-shell > .envrc` to initialize the `.envrc` file.
* Execute `direnv allow` to load the `.envrc` file which in turn loads your environment.