diff --git a/flake.nix b/flake.nix index c2a4b71..696d9c1 100644 --- a/flake.nix +++ b/flake.nix @@ -119,6 +119,14 @@ (import ./overlay.nix) ]; }; + gob = pkgs.writeShellScriptBin "gob" '' + cd $(git rev-parse --show-toplevel) + go build -v ./... + ''; + gota = pkgs.writeShellScriptBin "gota" '' + cd $(git rev-parse --show-toplevel) + go test ./... + ''; in { default = with pkgs; mkShell @@ -152,6 +160,10 @@ goPkgs.patchelf-x86_64 goPkgs.patchelf-aarch64 + ## ad-hoc cmds + gob + gota + gopls gofumpt go-tools