forked from mirrors/nixpkgs
maintainers/scripts/convert-to-import-cargo-lock: don't add duplicate outputHashes
This commit is contained in:
parent
7130282976
commit
34c848fe08
|
@ -114,11 +114,6 @@ fn convert(attr: &str, hashes: &mut HashMap<String, String>) -> anyhow::Result<(
|
|||
.expect("dependency should have well-formed source url");
|
||||
|
||||
if let Some(hash) = hashes.get(original_url) {
|
||||
git_dependencies.push((
|
||||
format!("{}-{}", package.name, package.version),
|
||||
hash.clone(),
|
||||
));
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue