Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git subtree not fetched? #16

Open
Weathercold opened this issue Feb 15, 2024 · 2 comments
Open

Git subtree not fetched? #16

Weathercold opened this issue Feb 15, 2024 · 2 comments

Comments

@Weathercold
Copy link

After adding my repo to NUR in nix-community/NUR#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.

@Mic92
Copy link
Member

Mic92 commented Feb 16, 2024

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

@Weathercold
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants