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 {
|
buildGoModule rec {
|
||||||
pname = "gotools-unstable";
|
pname = "gotools-unstable";
|
||||||
@ -40,7 +40,7 @@ buildGoModule rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
excludedPackages = "\\("
|
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
|
# Set GOTOOLDIR for derivations adding this to buildInputs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user