about summary refs log tree commit diff
path: root/shells/go.nix
blob: b88d29772e26065e8e665abcecb89297cc6cb3dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ pkgs ? import ../. {} }:
with pkgs;

stdenv.mkDerivation {
  name = "go-shell";
  buildInputs = [ go goimports gopls ];

  buildCommand = ''
    printf "%s\n" ''${buildInputsArray[*]} > $out
  '';
}