gotools: drop unnecessary optional excludedPackages

This commit is contained in:
zowoq 2021-01-10 10:00:32 +10:00
parent 134b008891
commit 59db4d32df

View file

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