mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-15 12:15:56 +01:00
The `sparseCheckout` argument allows the user to specify directories or
patterns of files, which Git uses to filter files it should check-out.
Git expects a multi-line string on stdin ("newline-delimited list", see
`git-sparse-checkout(1)`), but within nixpkgs it is more consistent to
use a list of strings instead. The list elements are joined to a
multi-line string only before passing it to the builder script.
A deprecation warning is emitted if a (multi-line) string is passed to
`sparseCheckout`, but for the time being it is still accepted.
|
||
|---|---|---|
| .. | ||
| images | ||
| packages | ||
| special | ||
| fetchers.chapter.md | ||
| images.xml | ||
| special.xml | ||
| testers.chapter.md | ||
| trivial-builders.chapter.md | ||