-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
If a package with the same name and version but different hashes is uploaded to two different maven repos, gradle dependencies and nix buildMavenRepo might have different ideas about which repo to obtain the file from, and therefore crash.
Possible solutions:
- Change the way the lock file is produced, to include a reference to the repo from which it was obtained. (This is probably too hard and flaky.)
- If
buildMavenRepofinds a file with the incorrect sum, it shouldn't give up. Instead, it should keep looking at the other repos. (This is probably much easier. But the whole thing feels completely ad hoc. Why shouldn't we know where the package comes from? Is that just how maven works?)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels