3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/doc
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
..
build-aux/pandoc-filters doc: remove reference to unix-man-urls.lua 2021-12-28 13:26:35 +01:00
builders treewide: remove steam-run-native 2022-03-02 12:25:45 -08:00
contributing Move misc/vim-plugins to applications/editors/vim/plugins 2022-02-24 20:26:07 -03:00
doc-support
functions
languages-frameworks go: Bunch of fixes when using excludedPackages and other bits 2022-03-04 13:32:44 +10:00
old
stdenv Merge pull request #159344 from symphorien/doc-remove-references-to 2022-02-19 15:17:05 +01:00
using nixpkgs/doc: update overlay/lapack section 2022-02-11 17:51:39 +01:00
.gitignore
default.nix
functions.xml
Makefile
manual.xml
overrides.css
preface.chapter.md
README.md
release-notes.xml
shell.nix
style.css

Nixpkgs/doc

This directory houses the sources files for the Nixpkgs manual.

You can find the rendered documentation for Nixpkgs unstable on nixos.org.

Docs for Nixpkgs stable are also available.

If you want to contribute to the documentation, here's how to do it.

If you're only getting started with Nix, go to nixos.org/learn.