Update devshell outputs to `devShells.default`
This commit is contained in:
parent
20d20aff9d
commit
f93062025f
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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 ]; };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 ];
|
||||||
|
|
Loading…
Reference in New Issue