0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 22:20:30 +03:00
nixpkgs/doc/build-helpers
Atemu 7adab4cf93 fetchgit{,hub}: add tag argument
It's become a common pattern to use `rev = "refs/tags/${version}"` rather than
just `rev = version` to ensure that the tag gets fetched rather than a branch
that has the same name. This has so far been done using boilerplate though, so
let's add a simple abstraction to fetch a tag instead.

(cherry picked from commit cb9f9a1e5a)
2024-12-05 15:40:33 +00:00
..
images doc: replace references to --replace for the substitute command 2024-11-06 14:08:28 -08:00
special doc: Add missing debian12 attribute names 2024-09-05 14:05:27 +02:00
dev-shell-tools.chapter.md devShellTools: Docs, fix args env 2024-07-28 23:17:18 +02:00
fetchers.chapter.md fetchgit{,hub}: add tag argument 2024-12-05 15:40:33 +00: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: add type signature of testers.runCommand 2024-08-08 15:43:47 +00:00
trivial-build-helpers.chapter.md writeReferencesToFile: remove 2024-11-24 22:42:44 +01:00