gclient2nix: fix attrs -> args

This matches what importGclientDeps actually expects. Whoops
This commit is contained in:
Yureka
2025-04-08 19:10:17 +02:00
parent fcec87c2f6
commit c18b083a06
+1 -1
View File
@@ -107,7 +107,7 @@ class Repo:
)
def flatten_repr(self) -> dict:
return {"fetcher": self.fetcher, "attrs": {**({"hash": self.hash} if hasattr(self, "hash") else {}), **self.args}}
return {"fetcher": self.fetcher, "args": {**({"hash": self.hash} if hasattr(self, "hash") else {}), **self.args}}
def flatten(self, path: str) -> dict:
out = {path: self.flatten_repr()}