Add go dev shell
This commit is contained in:
parent
c740cf6d5a
commit
d46fb8a767
2 changed files with 17 additions and 0 deletions
|
@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Add `php84` dev shell.
|
- Add `php84` dev shell.
|
||||||
|
- Add `go` dev shell.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
16
modules/go.nix
Normal file
16
modules/go.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
perSystem =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
devShells.go = pkgs.mkShell {
|
||||||
|
packages = with pkgs; [
|
||||||
|
go
|
||||||
|
gopls
|
||||||
|
];
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
go version
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue