go: Avoid setting excludedPackages for package already being excluded by default
This commit is contained in:
parent
8b5a7940b0
commit
64ca089436
@ -9,7 +9,6 @@ buildGoPackage rec {
|
||||
rev = "218875ebe23806e7af82f3b5b14bb3355534f679";
|
||||
|
||||
goPackagePath = "github.com/fatih/motion";
|
||||
excludedPackages = "testdata";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
|
@ -9,8 +9,6 @@ buildGoModule rec {
|
||||
# standard packages.
|
||||
allowGoReference = true;
|
||||
|
||||
excludedPackages = "internal/suggest/testdata";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stamblerre";
|
||||
repo = "gocode";
|
||||
|
@ -6,7 +6,6 @@ buildGoPackage rec {
|
||||
rev = "4acdcbdea79de6b3dee1c637eca5cbea0fdbe37c";
|
||||
|
||||
goPackagePath = "github.com/mdempsky/gocode";
|
||||
excludedPackages = "internal/suggest/testdata";
|
||||
|
||||
# we must allow references to the original `go` package,
|
||||
# because `gocode` needs to dig into $GOROOT to provide completions for the
|
||||
|
@ -12,8 +12,6 @@ buildGoModule rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
excludedPackages = "\\(testdata\\)";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
|
||||
|
@ -5,8 +5,6 @@ buildGoModule rec {
|
||||
version = "20201208-${lib.strings.substring 0 7 rev}";
|
||||
rev = "83fdc39ff7b56453e3793356bcff3070b9b96445";
|
||||
|
||||
excludedPackages = "testdata";
|
||||
|
||||
# we must allow references to the original `go` package, as golint uses
|
||||
# compiler go/build package to load the packages it's linting.
|
||||
allowGoReference = true;
|
||||
|
@ -40,7 +40,7 @@ buildGoModule rec {
|
||||
'';
|
||||
|
||||
excludedPackages = "\\("
|
||||
+ lib.concatStringsSep "\\|" ([ "testdata" "vet" "cover" ])
|
||||
+ lib.concatStringsSep "\\|" ([ "vet" "cover" ])
|
||||
+ "\\)";
|
||||
|
||||
# Set GOTOOLDIR for derivations adding this to buildInputs
|
||||
|
@ -9,7 +9,6 @@ buildGoPackage rec {
|
||||
rev = "1003c8bd00dc2869cb5ca5282e6ce33834fed514";
|
||||
|
||||
goPackagePath = "github.com/gordonklaus/ineffassign";
|
||||
excludedPackages = "testdata";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
|
@ -9,7 +9,6 @@ buildGoPackage rec {
|
||||
rev = "c20040233aedb03da82d460eca6130fcd91c629a";
|
||||
|
||||
goPackagePath = "mvdan.cc/interfacer";
|
||||
excludedPackages = "check/testdata";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
|
Loading…
Reference in New Issue
Block a user