Add go dev shell

This commit is contained in:
Oliver Davies 2025-07-30 01:36:46 +01:00
parent c740cf6d5a
commit d46fb8a767
2 changed files with 17 additions and 0 deletions

View file

@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
### Added
- Add `php84` dev shell.
- Add `go` dev shell.
### Changed

16
modules/go.nix Normal file
View file

@ -0,0 +1,16 @@
{
perSystem =
{ pkgs, ... }:
{
devShells.go = pkgs.mkShell {
packages = with pkgs; [
go
gopls
];
shellHook = ''
go version
'';
};
};
}