diff options
Diffstat (limited to 'shells/go.nix')
-rw-r--r-- | shells/go.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/go.nix b/shells/go.nix new file mode 100644 index 000000000000..b88d29772e26 --- /dev/null +++ b/shells/go.nix @@ -0,0 +1,11 @@ +{ pkgs ? import ../. {} }: +with pkgs; + +stdenv.mkDerivation { + name = "go-shell"; + buildInputs = [ go goimports gopls ]; + + buildCommand = '' + printf "%s\n" ''${buildInputsArray[*]} > $out + ''; +} |