fix: fetchGit
This commit is contained in:
@@ -185,7 +185,7 @@ export const fetchGit = (args: NixValue): NixAttrs => {
|
||||
]);
|
||||
}
|
||||
const attrs = forceAttrs(args);
|
||||
const url = forceStringValue(select("attrs", ["url"]));
|
||||
const url = forceStringValue(select(attrs, ["url"]));
|
||||
const gitRef = attrs.has("ref") ? forceStringValue(attrs.get("ref") as NixValue) : null;
|
||||
const rev = attrs.has("rev") ? forceStringValue(attrs.get("rev") as NixValue) : null;
|
||||
const shallow = attrs.has("shallow") ? forceBool(attrs.get("shallow") as NixValue) : false;
|
||||
|
||||
Reference in New Issue
Block a user