gotools: drop unnecessary optional excludedPackages
This commit is contained in:
parent
134b008891
commit
59db4d32df
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, go, buildGoModule, fetchgit }:
|
||||
{ stdenv, buildGoModule, fetchgit }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gotools-unstable";
|
||||
|
@ -40,7 +40,7 @@ buildGoModule rec {
|
|||
'';
|
||||
|
||||
excludedPackages = "\\("
|
||||
+ stdenv.lib.concatStringsSep "\\|" ([ "testdata" ] ++ stdenv.lib.optionals (stdenv.lib.versionAtLeast go.meta.branch "1.5") [ "vet" "cover" ])
|
||||
+ stdenv.lib.concatStringsSep "\\|" ([ "testdata" "vet" "cover" ])
|
||||
+ "\\)";
|
||||
|
||||
# Set GOTOOLDIR for derivations adding this to buildInputs
|
||||
|
|
Loading…
Reference in a new issue