feat: rework to modular
This commit is contained in:
16
shells/go.nix
Normal file
16
shells/go.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
pkgs,
|
||||
extraPackages ? [ ],
|
||||
inputsFrom ? [ ],
|
||||
shellHook ? "",
|
||||
}:
|
||||
pkgs.mkShell {
|
||||
inherit inputsFrom shellHook;
|
||||
|
||||
packages =
|
||||
(with pkgs; [
|
||||
go
|
||||
gopls
|
||||
])
|
||||
++ extraPackages;
|
||||
}
|
||||
Reference in New Issue
Block a user