Skip to content

nix-prefetch-git: fix tag fetching and restore .git hash compatibility for postCheckout PR#473411

Merged
ShamrockLee merged 2 commits into
NixOS:masterfrom
ShamrockLee:fetchgit-ref-tag-fix
Dec 26, 2025
Merged

nix-prefetch-git: fix tag fetching and restore .git hash compatibility for postCheckout PR#473411
ShamrockLee merged 2 commits into
NixOS:masterfrom
ShamrockLee:fetchgit-ref-tag-fix

nix-prefetch-git: restore the tag-related clone flags when leaving .git

0903096
Select commit
Loading
Failed to load commit list.
OfBorg / nix-prefetch-git, nix-prefetch-git.passthru.tests on aarch64-darwin succeeded Jan 17, 2026 in 0s

Success

Attempted: nix-prefetch-git

The following builds were skipped because they don't evaluate on aarch64-darwin: nix-prefetch-git.passthru.tests

Details

Partial log

error: attribute 'tests' in selection path 'nix-prefetch-git.passthru.tests' not found

these 3 paths will be fetched (3.47 MiB download, 12.57 MiB unpacked):
  /nix/store/fg2670m6ndg69fyivbxnzmq3crfg1z56-git-lfs-3.7.1
  /nix/store/64978f3nxs1yfyqcnvi7mwzfkg11kajh-iana-etc-20250505
  /nix/store/zxy6h6mr4i2px67ibva4vd9csbg4b5lg-nix-prefetch-git
copying path '/nix/store/64978f3nxs1yfyqcnvi7mwzfkg11kajh-iana-etc-20250505' from 'https://cache.nixos.org'...
copying path '/nix/store/fg2670m6ndg69fyivbxnzmq3crfg1z56-git-lfs-3.7.1' from 'https://cache.nixos.org'...
copying path '/nix/store/zxy6h6mr4i2px67ibva4vd9csbg4b5lg-nix-prefetch-git' from 'https://cache.nixos.org'...
/nix/store/zxy6h6mr4i2px67ibva4vd9csbg4b5lg-nix-prefetch-git