nixpkgs/pkgs/gopls/default.nix

12 lines
278 B
Nix
Raw Normal View History

2020-02-13 17:29:49 +00:00
{ sources ? import ../../nix/sources.nix, pkgs ? import sources.nixpkgs { } }:
with pkgs;
2020-02-10 21:39:06 +00:00
let
2020-02-13 17:29:49 +00:00
out = buildGoPackage {
2020-02-10 21:39:06 +00:00
name = "gopls-git";
goPackagePath = "golang.org/x/tools";
2020-02-13 17:29:49 +00:00
src = sources.tools;
2020-02-10 21:39:06 +00:00
goDeps = ./deps.nix;
subPackages = [ "gopls" ];
};
in out