From 04151593cc701646c80c407a7641e6fcf242f95c Mon Sep 17 00:00:00 2001 From: Loric Brevet Date: Wed, 6 Jul 2022 23:08:16 +0200 Subject: [PATCH] blog: update devShell to devShells for compatibility with recent spec (#505) --- blog/nix-flakes-1-2022-02-21.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blog/nix-flakes-1-2022-02-21.markdown b/blog/nix-flakes-1-2022-02-21.markdown index fd8da37..be3d751 100644 --- a/blog/nix-flakes-1-2022-02-21.markdown +++ b/blog/nix-flakes-1-2022-02-21.markdown @@ -275,13 +275,13 @@ project is using the same tools. project folder I do not have any development tools 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: ```nix -# after defaultApp +# after apps -devShell = forAllSystems (system: +devShells = forAllSystems (system: let pkgs = nixpkgsFor.${system}; in { default = pkgs.mkShell {