nixpkgs/doc/build-helpers
Adam Dinwoodie d95d3724d8 fetchgit: add preFetch hook
This allows running code to change the environment before the
nix-prefetch-git script is run.  In particular, it allows setting things
like NIX_PREFETCH_GIT_CHECKOUT_HOOK, which allows additional code to be
run before deleting the .git directory.

This also means there's potentially value in performing a deep clone
then removing the .git directory, so remove the assertion that prevents
doing so.
2025-05-06 14:14:26 +01:00
..
images doc: do not reuse pname 2025-04-21 07:02:49 +02:00
special doc: update Nix code snippets format 2025-04-17 01:30:34 +02:00
dev-shell-tools.chapter.md doc: update Nix code snippets format 2025-04-17 01:30:34 +02:00
fetchers.chapter.md fetchgit: add preFetch hook 2025-05-06 14:14:26 +01: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