mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
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 New Issue
Block a user