Update devshell outputs to `devShells.default`

This commit is contained in:
Sam W 2022-06-19 15:16:07 +01:00
parent 20d20aff9d
commit f93062025f
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
}; };
outputs = { self, nixpkgs, utils, devshell }: outputs = { self, nixpkgs, utils, devshell }:
utils.lib.eachDefaultSystem (system: { utils.lib.eachDefaultSystem (system: {
devShell = let devShells.default = let
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;

View File

@ -28,7 +28,7 @@
apps.default = utils.lib.mkApp { drv = packages.default; }; apps.default = utils.lib.mkApp { drv = packages.default; };
devShell = devShells.default =
pkgs.devshell.mkShell { packages = with pkgs; [ go gopls ]; }; pkgs.devshell.mkShell { packages = with pkgs; [ go gopls ]; };
}); });
} }

View File

@ -30,7 +30,7 @@
apps.default = utils.lib.mkApp { drv = packages.default; }; apps.default = utils.lib.mkApp { drv = packages.default; };
# Provide a dev env with rust and rls # Provide a dev env with rust and rls
devShell = let devShells.default = let
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
overlays = [ devshell.overlay ]; overlays = [ devshell.overlay ];