Skip to content

fetchgit: take postCheckout to allow gathering revision and commit metadata without leaving .git#465497

Merged
philiptaron merged 5 commits into
NixOS:masterfrom
ShamrockLee:fetchgit-postCheckout
Dec 17, 2025
Merged

fetchgit: take postCheckout to allow gathering revision and commit metadata without leaving .git#465497
philiptaron merged 5 commits into
NixOS:masterfrom
ShamrockLee:fetchgit-postCheckout

tests.fetchgit: add submodule-revision-count

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

Success

Attempted: nix-prefetch-git, tests.fetchgit

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

Details

Partial log

/nix/store/094nmhb9lrl1h0z4cyqrsfpv8f81pj9a-simple-nix-source-salted-0v9qvmx5fjr7
/nix/store/zppr3jzm789hn6q2mbm2r6vmrhw21vky-simple-tag-nix-source-salted-0cxrpi5fpqjx
/nix/store/c8kab1vbb98wswn6ws7qagvsxynykrsp-sparse-checkout-nix-source-salted-xdq7vrnqlcna
/nix/store/7yi3w1rb4s1ixbgj0smbsi2qxjp9fng3-sparse-checkout-non-cone-nix-source-salted-hs0l8vlbll19
/nix/store/n0wpbzm4yqz6ixjmb05qpgc6bp6b4ipz-submodule-deep-source-salted-ihapchi73v8b
/nix/store/5mpbadkwzhbg1y8gddrj3lx20yr2sknx-submodule-leave-git-source-salted-m7hg6q86pvz1
/nix/store/igx496vvinj8x2sxzlhl93b95lykw3rb-submodule-leave-git-deep-source-salted-p3mjha8fqryl
/nix/store/hjmmzl2dr9wl23vsw01lpa0g1b4z16qh-submodule-revision-count-source-salted-23zscvvpg0zp
/nix/store/8nlh0l34py03xzca24cdhzz4wxcw715j-submodule-simple-source-salted-18jvymmfjf2m
/nix/store/nwlm9dysbil43m6pq1v6j7yy5zxmzdzc-fetchgit-with-config-salted-szyp1vpdl4l0