diff --git a/pkgs/development/go-modules/generic/default.nix b/pkgs/development/go-modules/generic/default.nix index 93b09acbda1b..89258062f263 100644 --- a/pkgs/development/go-modules/generic/default.nix +++ b/pkgs/development/go-modules/generic/default.nix @@ -106,7 +106,7 @@ go.stdenv.mkDerivation ( echo "$subPackages" | sed "s,\(^\| \),\1$goPackagePath/,g" else pushd go/src >/dev/null - find "$goPackagePath" -type f -name \*$type.go -exec dirname {} \; | sort | uniq + find "$goPackagePath" -type f -name \*$type.go -exec dirname {} \; | grep -v "/vendor/" | sort | uniq popd >/dev/null fi }