Rename fetchurl method to fetchzip

This commit is contained in:
Ehmry - 2023-10-09 10:32:13 +01:00
parent b5b9c5a671
commit ab591258d3
1 changed files with 1 additions and 1 deletions

View File

@ -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