nixpkgs/doc/languages-frameworks
Manuel Mendez 8b5a7940b0 go: Bunch of fixes when using excludedPackages and other bits
Few things going on in this commit:

Do not print "Building subPakage $pkg" message if actually going to skip the
package. This was confusing to me when I was trying to figure out how to set
excludedPackages and seeing the "Building subpackage $pkg" messages for
packages I wanted to skip. Turns out this messages was being printed before
checking if we actually wanted to build the package and not necessarily that my
excludedPackages was wrong.

Make go-packages look a little bit more like go-modules, by adding testdata to
the default list of excluded packages.

This commit also does some setup outside the buildGoDir function so that we
avoid checking `excludedPackages` for every package and cut down the number
of grep calls by half since we always want at least one grep for the default
excludedPackages, might as well just add to the patterns being checked.

Finally, adds documentation for usage of excludedPackages and subPackages. I
had to read the implementation to figure out how to correctly use these
function arguments since there was no documentation and different uses in the
code base. So this commit documents usage of the arguments.
2022-03-04 13:32:44 +10:00
..
agda.section.md adga: Add test for all packages 2021-08-03 13:33:59 +02:00
android.section.md doc: prepare for commonmark 2021-06-07 06:34:59 +02:00
beam.section.md doc/beam: minor formatting/copy fixes (#153396) 2022-01-04 18:20:42 +08:00
bower.section.md doc: prepare for commonmark 2021-06-07 06:34:59 +02:00
coq.section.md coqPackages: tree-wide move packages to nativeBuildInputs and add strictDeps = true 2022-02-25 07:54:17 +01:00
crystal.section.md doc/crystal: Update to mention shard.lock file generation 2021-10-30 16:30:33 +02:00
dhall.section.md dhall docs: replace two paths with more general versions 2021-11-08 13:21:26 +09:00
dotnet.section.md buildDotnetModule: wrap executables in preFixup 2022-01-12 00:23:53 +01:00
emscripten.section.md doc: minimize mentions of nix-env -i without -A in nixpkgs manual 2021-12-18 12:00:00 +00:00
gnome.section.md doc: fix broken links 2021-12-09 18:57:38 +00:00
go.section.md go: Bunch of fixes when using excludedPackages and other bits 2022-03-04 13:32:44 +10:00
haskell.section.md doc: explicit Markdown anchors for top-level headings; remove metadata 2021-01-01 10:02:57 -08:00
hy.section.md hy: 0.19.0 -> 1.0a1 and improvements 2021-06-27 12:34:28 +02:00
idris.section.md doc: minimize mentions of nix-env -i without -A in nixpkgs manual 2021-12-18 12:00:00 +00:00
index.xml buildDotnetModule: add documentation 2021-10-06 22:14:24 +02:00
ios.section.md doc: prepare for commonmark 2021-06-07 06:34:59 +02:00
java.section.md jre_minimal: document how to use a headless JDK 2021-09-30 10:34:51 +02:00
javascript.section.md remove a mention of #node.section.md 2021-09-03 21:45:20 +09:00
lua.section.md doc: fix broken links 2021-12-09 18:57:38 +00:00
maven.section.md doc: prepare for commonmark 2021-06-07 06:34:59 +02:00
nim.section.md Nim: Add documentation and GitHub metadata 2021-09-05 11:20:02 +02:00
ocaml.section.md manual: document deprecated minimumOCamlVersion 2022-01-26 07:35:19 +01:00
octave.section.md doc: minimize mentions of nix-env -i without -A in nixpkgs manual 2021-12-18 12:00:00 +00:00
perl.section.md doc: minimize mentions of nix-env -i without -A in nixpkgs manual 2021-12-18 12:00:00 +00:00
php.section.md php.packages: Make packages overridable 2020-12-16 18:32:27 +01:00
python.section.md python3Packages: document how to handle extras-require 2022-02-25 14:09:41 +01:00
qt.section.md doc: prepare for commonmark 2021-06-07 06:34:59 +02:00
r.section.md doc: clarify location of rPackages overrides 2021-09-26 07:29:58 +10:00
ruby.section.md doc: ruby-section: add workaround for platform-specific gems 2021-12-08 14:27:52 +01:00
rust.section.md rustPlatform.bindgenHook: init 2022-02-22 19:37:07 +01:00
texlive.section.md doc: prepare for commonmark 2021-06-07 06:34:59 +02:00
titanium.section.md doc: prepare for commonmark 2021-06-07 06:34:59 +02:00
vim.section.md Move misc/vim-plugins to applications/editors/vim/plugins 2022-02-24 20:26:07 -03:00