Skip to content

Commit

Permalink
fetchgit: nudge to update the manual when modifying parameters
Browse files Browse the repository at this point in the history
Many parameters added over the past many years were not documented in the
manual. People likely simple didn't think to do that, so let's nudge them.
  • Loading branch information
Atemu committed Nov 14, 2024
1 parent 1712d71 commit ee97de3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/build-support/fetchgit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
in "${if matched == null then base else builtins.head matched}${appendShort}";
in
lib.makeOverridable (lib.fetchers.withNormalizedHash { } (
# NOTE Please document parameter additions or changes in
# doc/build-helpers/fetchers.chapter.md
{ url, rev ? "HEAD", leaveDotGit ? deepClone
, outputHash ? lib.fakeHash, outputHashAlgo ? null
, fetchSubmodules ? true, deepClone ? false
Expand Down

0 comments on commit ee97de3

Please sign in to comment.