Rename fetchurl method to fetchzip
This commit is contained in:
parent
b5b9c5a671
commit
ab591258d3
|
@ -158,7 +158,7 @@ proc prefetchGitForge(uri: Uri; version: VersionRange): JsonNode =
|
|||
off.inc parseUntil(lines, storePath, {'\n'}, off).succ
|
||||
doAssert off == lines.len, "unrecognized nix-prefetch-url output:\n" & lines
|
||||
|
||||
result["method"] = %"fetchurl"
|
||||
result["method"] = %"fetchzip"
|
||||
result["path"] = %storePath
|
||||
result["rev"] = %rev
|
||||
result["sha256"] = %hash
|
||||
|
|
Loading…
Reference in New Issue