Commit c18b083a authored by Yureka's avatar Yureka
Browse files

gclient2nix: fix attrs -> args

This matches what importGclientDeps actually expects. Whoops
parent fcec87c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()}