mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
![]() 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. |
||
---|---|---|
.. | ||
images | ||
special | ||
dev-shell-tools.chapter.md | ||
fetchers.chapter.md | ||
fixed-point-arguments.chapter.md | ||
images.md | ||
special.md | ||
testers.chapter.md | ||
trivial-build-helpers.chapter.md |