nur-combined icon indicating copy to clipboard operation
nur-combined copied to clipboard

Git subtree not fetched?

Open Weathercold opened this issue 1 year ago • 2 comments

After adding my repo to NUR in https://github.com/nix-community/NUR/pull/661, I checked nur-search, but didn’t find my repo. After some investigation, I found that lib/haumea, which I included in my repo as a git subtree, is missing. This causes evaluation to fail, as seen in https://github.com/nix-community/NUR/actions/runs/7918558368/job/21617462976#step:4:812.

Weathercold avatar Feb 15 '24 16:02 Weathercold

Do the normal nix fetchers fetch subtrees? We should mirror the behavior of those.

Mic92 avatar Feb 16 '24 12:02 Mic92

Not sure about NUR's internal logic, but the fetcher used should be pkgs.fetchzip. When I manually fetch https://github.com/Weathercold/nixfiles/archive/2f0d550f4fffb74d88fa33dea9998ba02f65dcde.zip, the subtree is there. Weird

Weathercold avatar Feb 16 '24 17:02 Weathercold