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
android.section.md
beam.section.md doc/beam: minor formatting/copy fixes (#153396) 2022-01-04 18:20:42 +08:00
bower.section.md
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
hy.section.md
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
ios.section.md
java.section.md
javascript.section.md
lua.section.md doc: fix broken links 2021-12-09 18:57:38 +00:00
maven.section.md
nim.section.md
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
python.section.md python3Packages: document how to handle extras-require 2022-02-25 14:09:41 +01:00
qt.section.md
r.section.md
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
titanium.section.md
vim.section.md Move misc/vim-plugins to applications/editors/vim/plugins 2022-02-24 20:26:07 -03:00