diff --git a/flake.nix b/flake.nix index 222db55..1a87b60 100644 --- a/flake.nix +++ b/flake.nix @@ -62,5 +62,11 @@ program = "${self.packages.${system}.go-hello}/bin/go-hello"; }); + devShell = forAllSystems (system: + let pkgs = nixpkgsFor.${system}; + in pkgs.mkShell { + buildInputs = with pkgs; [ go gopls goimports go-tools ]; + }); + }; }