I’m new to zig and wanted to use it for embedded programming. It seems that MicroZig is a way to go for this purpose.
But then I tried to build MicroZig, but it relies on sqlite package, which internally has this in it’s build.zig.zon
.dependencies = .{
.sqlite = .{
.url = "https://www.sqlite.org/2025/sqlite-amalgamation-3490200.zip",
.hash = "N-V-__8AAH-mpwB7g3MnqYU-ooUBF1t99RP27dZ9addtMVXD",
},
},
The problem is, my ISP blocks this url, so zig can not download it. I’ve tried using an http proxy to solve this, but it didn’t work because zig now errors with this: error: invalid HTTP response: HttpConnectionClosing (or probably also something else, I’ve tried different proxy setups).
So the question is - is there a way to use manually downloaded sqlite instead of relying on zig to download it?