blog: update devShell to devShells for compatibility with recent spec (#505)

This commit is contained in:
Loric Brevet 2022-07-06 23:08:16 +02:00 committed by GitHub
parent a6ddd7e3a6
commit 04151593cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -275,13 +275,13 @@ project is using the same tools.
project folder I do not have any development tools project folder I do not have any development tools
available.](conversation://Cadey/enby) available.](conversation://Cadey/enby)
Flakes has the ability to specify this using the `devShell` flake output. You Flakes has the ability to specify this using the `devShells` flake output. You
can add it to your `flake.nix` using this: can add it to your `flake.nix` using this:
```nix ```nix
# after defaultApp # after apps
devShell = forAllSystems (system: devShells = forAllSystems (system:
let pkgs = nixpkgsFor.${system}; let pkgs = nixpkgsFor.${system};
in { in {
default = pkgs.mkShell { default = pkgs.mkShell {