setup misspell

main
mediocregopher 3 years ago
parent cb90adf002
commit e14e8f0ef9
  1. 16
      nvim/default.nix
  2. 12
      nvim/misspellDeps.nix

@ -15,6 +15,21 @@
subPackages = [ "cmd/goimports" ];
};
misspell = pkgs.buildGoPackage rec {
pname = "misspell";
version = "0.3.4";
goPackagePath = "github.com/client9/misspell";
src = pkgs.fetchFromGitHub {
owner = "client9";
repo = "misspell";
rev = "v${version}";
sha256 = "1vwf33wsc4la25zk9nylpbp9px3svlmldkm0bha4hp56jws4q9cs";
};
goDeps = ./misspellDeps.nix;
};
# the gocode-gomod which comes with nixpkgs places the binary at
# gocode-gomod, we gotta rename it
gocode = pkgs.stdenv.mkDerivation {
@ -45,6 +60,7 @@
pkgs.gopls
gocode
goimports
misspell
];
};

@ -0,0 +1,12 @@
# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
[
{
goPackagePath = "github.com/gobwas/glob";
fetch = {
type = "git";
url = "https://github.com/gobwas/glob";
rev = "5ccd90ef52e1e632236f7326478d4faa74f99438";
sha256 = "0jxk1x806zn5x86342s72dq2qy64ksb3zrvrlgir2avjhwb18n6z";
};
}
]
Loading…
Cancel
Save