#build.zig.zon hash mismatch

1 messages · Page 1 of 1 (latest)

reef zinc
#

I am trying to use build.zig.zon for the first time, though I can't see to get it working.

Whenever I run zig build (master branch) I get the following error,
error: hash mismatch: manifest declares 1220244dd52fc31c8af6466d9a1e158c8cc092e6ae7d20bf958a0ff585d83c5b4d6e but the fetched package has 1220f946f839eab2ec49dca1c805ce72ac3e3ef9c47b3afcdecd1c05a7b35f66d277

I calculated the hash by wgeting the package url then running sha256sum on the package and prefixing the result with 1220

Here is my build.zig.zon

.{
    .name = ".zxL4",
    .version = "0.0.0",
    .paths = .{""},
    .dependencies = .{
        .limine = .{
            .url = "https://github.com/48cf/limine-zig/archive/7b29b6e6f6d35052f01ed3831085a39aae131705.tar.gz",
            .hash = "1220244dd52fc31c8af6466d9a1e158c8cc092e6ae7d20bf958a0ff585d83c5b4d6e",
        },
    },
}

I also checked if the gunziped tar matched the supposed fetched package hash and it doesn't.

quasi plaza
#

zig fetch to get the hash

reef zinc
quasi plaza