nixpkgs/pkgs/gopls/default.nix

12 lines
272 B
Nix
Raw Normal View History

2020-03-15 13:24:27 +00:00
{ sources ? import ../../nix/sources.nix, pkgs ? import <nixpkgs> { } }:
2020-02-13 17:29:49 +00:00
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