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 lib.sources: Generate docs 2021-05-29 16:03:54 +02:00
functions doc: Fix xref in functions description 2021-11-14 22:30:07 +01:00
languages-frameworks go: Bunch of fixes when using excludedPackages and other bits 2022-03-04 13:32:44 +10:00
old doc/*: editorconfig fixes 2020-07-31 15:06:53 +10:00
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 doc: Fix make in nix-shell 2021-06-05 13:25:48 +02:00
functions.xml doc/functions/generators: convert to CommonMark 2021-06-11 06:06:42 -07:00
Makefile doc: Add helper for converting DocBook files to Markdown 2021-07-13 02:21:22 +02:00
manual.xml doc/using: convert to markdown 2021-04-23 12:02:07 +02:00
overrides.css doc: Make callout marks in code unselectable 2020-01-14 15:24:57 +01:00
preface.chapter.md doc: prepare for commonmark 2021-06-07 06:34:59 +02:00
README.md doc/README.md: Add more links 2021-03-06 12:35:33 +01:00
release-notes.xml treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
shell.nix doc: fix shell.nix (#109816) 2021-01-19 12:46:51 -05:00
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.