File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,7 @@ writeShellApplication {
66
66
printf -- 'fetching (zig fetch): %s\n' "$url" 1>&2
67
67
case "$url" in
68
68
file://*)
69
- # workaround bug: https://github.com/ziglang/zig/issues/18549
70
- mkdir -p "$tmpdir/tmp"
71
- fname="$(cd "$tmpdir/tmp"; curl -sSL "$url" -O; find . -mindepth 1 -maxdepth 1 -type f)"
72
- zhash2="$(zig fetch "$tmpdir/tmp/$fname" || true)"
73
- rm -rf "$tmpdir/tmp"
69
+ error 'unsupported url: %s' "$url"
74
70
;;
75
71
*)
76
72
zhash2="$(zig fetch "$url" || true)"
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ writeShellApplication {
66
66
"git+https" = fetchGitZig { inherit name hash; url = "https://'' ${path}"; };
67
67
http = fetchZig { inherit name hash; url = "http://'' ${path}"; };
68
68
https = fetchZig { inherit name hash; url = "https://'' ${path}"; };
69
- file = unpackZigArtifact { inherit name; artifact = /. + path; };
70
69
};
71
70
in fetcher.'' ${proto};
72
71
in linkFarm name [
You can’t perform that action at this time.
0 commit comments