7d40fbbc04
nix-prefetch-git is either run as part of a build, usually sandboxed, or outside a build, unsandboxed, to prefetch something that will later be used in a build. It's important that the latter use produces hashes that can be reproduced by the former. One way that they can differ is if the user's git config does something that changes the result of git clone. I ran into this, because my global git config automatically enables git-lfs, whereas nix-prefetch-git otherwise only uses git-lfs if specifically requested. This led to very confusing hash mismatches. |
||
---|---|---|
.. | ||
release-notes.md | ||
rl-1310.section.md | ||
rl-1404.section.md | ||
rl-1412.section.md | ||
rl-1509.section.md | ||
rl-1603.section.md | ||
rl-1609.section.md | ||
rl-1703.section.md | ||
rl-1709.section.md | ||
rl-1803.section.md | ||
rl-1809.section.md | ||
rl-1903.section.md | ||
rl-1909.section.md | ||
rl-2003.section.md | ||
rl-2009.section.md | ||
rl-2105.section.md | ||
rl-2111.section.md | ||
rl-2205.section.md | ||
rl-2211.section.md | ||
rl-2305.section.md | ||
rl-2311.section.md |