nixpkgs/doc/build-helpers
Tim Black 1247031689 pkgs/build-support/fetchgit: add fetchTags parameter
Added fetchTags feature to fetchgit, explicit and clear support for
fetching all tags after the source tree fetch completes. Doing this at
build-time in the fetcher is required for packages that invoke commands
like 'git describe' which require tags, and since the nix store is
read-only by design, it is not possible to git fetch --tags at
activation- or run-time. This feature may have been possible by
specifying a postFetch option including calling git fetch --tags,
however doing so obfuscates the solution to this very real problem.
Explicit support for fetching tags should be a first class citizen just
like fetching other refs.
2025-05-28 16:47:34 -07:00
..
images doc: do not reuse pname 2025-04-21 07:02:49 +02:00
special manual: Use a postPatch instead of a patchPhase 2025-05-24 22:10:55 +00:00
dev-shell-tools.chapter.md doc: update Nix code snippets format 2025-04-17 01:30:34 +02:00
fetchers.chapter.md pkgs/build-support/fetchgit: add fetchTags parameter 2025-05-28 16:47:34 -07:00
fixed-point-arguments.chapter.md treewide: fix typos 2025-02-22 02:02:07 +01:00
images.md snapTools: remove 2024-03-04 22:22:14 -08:00
special.md doc: update environment helpers in dockerTools docs, add fakeNss section 2024-02-01 01:37:31 -08:00
testers.chapter.md doc: update Nix code snippets format 2025-04-17 01:30:34 +02:00
trivial-build-helpers.chapter.md doc: update Nix code snippets format 2025-04-17 01:30:34 +02:00