go: Avoid setting excludedPackages for package already being excluded by default

This commit is contained in:
Manuel Mendez 2022-02-25 17:19:19 -05:00 committed by zowoq
parent 8b5a7940b0
commit 64ca089436
8 changed files with 1 additions and 11 deletions

View File

@ -9,7 +9,6 @@ buildGoPackage rec {
rev = "218875ebe23806e7af82f3b5b14bb3355534f679";
goPackagePath = "github.com/fatih/motion";
excludedPackages = "testdata";
src = fetchFromGitHub {
inherit rev;

View File

@ -9,8 +9,6 @@ buildGoModule rec {
# standard packages.
allowGoReference = true;
excludedPackages = "internal/suggest/testdata";
src = fetchFromGitHub {
owner = "stamblerre";
repo = "gocode";

View File

@ -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

View File

@ -12,8 +12,6 @@ buildGoModule rec {
doCheck = false;
excludedPackages = "\\(testdata\\)";
src = fetchFromGitHub {
inherit rev;

View File

@ -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;

View File

@ -40,7 +40,7 @@ buildGoModule rec {
'';
excludedPackages = "\\("
+ lib.concatStringsSep "\\|" ([ "testdata" "vet" "cover" ])
+ lib.concatStringsSep "\\|" ([ "vet" "cover" ])
+ "\\)";
# Set GOTOOLDIR for derivations adding this to buildInputs

View File

@ -9,7 +9,6 @@ buildGoPackage rec {
rev = "1003c8bd00dc2869cb5ca5282e6ce33834fed514";
goPackagePath = "github.com/gordonklaus/ineffassign";
excludedPackages = "testdata";
src = fetchFromGitHub {
inherit rev;

View File

@ -9,7 +9,6 @@ buildGoPackage rec {
rev = "c20040233aedb03da82d460eca6130fcd91c629a";
goPackagePath = "mvdan.cc/interfacer";
excludedPackages = "check/testdata";
src = fetchFromGitHub {
inherit rev;