Hello,
Out of curiosity, I've tried to build the project, but it failed:
$ zig build
/path/to/quote/build.zig.zon:13:20: error: unable to create fetch stream: EndOfStream
.url = "git+https://codeberg.org/sicher/sokol-zig#78fdd3653f9fc86b59688b5c48bee6512fc1e5ed",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Apparently, it looks like your build.zig.zon file is pointing at an unknown revision in the sicher/sokol-zig repository; or something like this.
I've tried to patch the file, and make it point at the latest commit to date:
diff --git a/build.zig.zon b/build.zig.zon
index 796e03435c..377be0e71c 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -10,8 +10,8 @@
},
.dependencies = .{
.sokol = .{
- .url = "git+https://codeberg.org/sicher/sokol-zig#78fdd3653f9fc86b59688b5c48bee6512fc1e5ed",
- .hash = "sokol-0.1.0-pb1HK0n7NgCbgkVh1g2mDNKPUjLwkPa2zMozU0uTurph",
+ .url = "git+https://codeberg.org/sicher/sokol-zig#8bed105f88e9da63f9e51c2d985d5bbc7a3c387d",
+ .hash = "sokol-0.1.0-pb1HK0RzNwA3RBUKW2tTLZG2rWnLRt9ipWiXp6J5fypK",
},
.dvui = .{
.path = "../dvui-fork",
... but it failed at a different step:
$ zig build
/path/to/quote/zig-pkg/sokey-0.1.0-i3-0Ks2BAAAgjuQgm-CPrGuAya4Q87OV6S-yPQp2MOUA/build.zig.zon:16:20: error: unable to create fetch stream: EndOfStream
.url = "git+https://codeberg.org/sicher/sokol-zig#78fdd3653f9fc86b59688b5c48bee6512fc1e5ed",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So now it's the sokey package which requires the same sokol-zig version that doesn't build.
Unfortunately, I don't have enough knowledge about zig to know how to work things out. Do you think that something's missing on my end? How could I build this zig project to check it out?
Hello,
Out of curiosity, I've tried to build the project, but it failed:
```console
$ zig build
/path/to/quote/build.zig.zon:13:20: error: unable to create fetch stream: EndOfStream
.url = "git+https://codeberg.org/sicher/sokol-zig#78fdd3653f9fc86b59688b5c48bee6512fc1e5ed",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Apparently, it looks like your `build.zig.zon` file is pointing at an unknown revision in the `sicher/sokol-zig` repository; or something like this.
I've tried to patch the file, and make it point at the latest commit to date:
```diff
diff --git a/build.zig.zon b/build.zig.zon
index 796e03435c..377be0e71c 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -10,8 +10,8 @@
},
.dependencies = .{
.sokol = .{
- .url = "git+https://codeberg.org/sicher/sokol-zig#78fdd3653f9fc86b59688b5c48bee6512fc1e5ed",
- .hash = "sokol-0.1.0-pb1HK0n7NgCbgkVh1g2mDNKPUjLwkPa2zMozU0uTurph",
+ .url = "git+https://codeberg.org/sicher/sokol-zig#8bed105f88e9da63f9e51c2d985d5bbc7a3c387d",
+ .hash = "sokol-0.1.0-pb1HK0RzNwA3RBUKW2tTLZG2rWnLRt9ipWiXp6J5fypK",
},
.dvui = .{
.path = "../dvui-fork",
```
... but it failed at a different step:
```console
$ zig build
/path/to/quote/zig-pkg/sokey-0.1.0-i3-0Ks2BAAAgjuQgm-CPrGuAya4Q87OV6S-yPQp2MOUA/build.zig.zon:16:20: error: unable to create fetch stream: EndOfStream
.url = "git+https://codeberg.org/sicher/sokol-zig#78fdd3653f9fc86b59688b5c48bee6512fc1e5ed",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
So now it's the `sokey` package which requires the same `sokol-zig` version that doesn't build.
Unfortunately, I don't have enough knowledge about `zig` to know how to work things out. Do you think that something's missing on my end? How could I build this zig project to check it out?