From f93062025f2a5e8b0a3e33db4256f919ff9f4f39 Mon Sep 17 00:00:00 2001 From: Sam Willcocks Date: Sun, 19 Jun 2022 15:16:07 +0100 Subject: [PATCH] Update devshell outputs to `devShells.default` --- devshell/flake.nix | 2 +- go/flake.nix | 2 +- rust/flake.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/devshell/flake.nix b/devshell/flake.nix index 3c819ad..9242191 100644 --- a/devshell/flake.nix +++ b/devshell/flake.nix @@ -6,7 +6,7 @@ }; outputs = { self, nixpkgs, utils, devshell }: utils.lib.eachDefaultSystem (system: { - devShell = let + devShells.default = let pkgs = import nixpkgs { inherit system; diff --git a/go/flake.nix b/go/flake.nix index 1649d80..95c76d5 100644 --- a/go/flake.nix +++ b/go/flake.nix @@ -28,7 +28,7 @@ apps.default = utils.lib.mkApp { drv = packages.default; }; - devShell = + devShells.default = pkgs.devshell.mkShell { packages = with pkgs; [ go gopls ]; }; }); } diff --git a/rust/flake.nix b/rust/flake.nix index 02e6059..4d10283 100644 --- a/rust/flake.nix +++ b/rust/flake.nix @@ -30,7 +30,7 @@ apps.default = utils.lib.mkApp { drv = packages.default; }; # Provide a dev env with rust and rls - devShell = let + devShells.default = let pkgs = import nixpkgs { inherit system; overlays = [ devshell.overlay ];