Move foreign dev shells to flake outputs
This commit is contained in:
parent
b451416d6f
commit
311770ad2e
11 changed files with 61 additions and 215 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue