Skip to content

cannot download zig-linux-x86_64-0.15.0-dev.75+03123916e.tar.xz from any mirror #45

@GeoffreyFrogeye

Description

@GeoffreyFrogeye

Seems like there's a regression from v0.1.2. I don't really know enough about Zig to figure out what's the issue, so here are reproduction steps (showing that it works with v0.1.2).

$ wget "https://git.sr.ht/~novakane/zelbar/blob/v${latest_tag}/build.zig.zon"
$ nix --extra-experimental-features 'nix-command flakes' run github:nix-community/zon2nix/v0.1.2# -- build.zig.zon
# generated by zon2nix (https://github.com/nix-community/zon2nix)

{ linkFarm, fetchzip }:

linkFarm "zig-packages" [
  {
    name = "1220687c8c47a48ba285d26a05600f8700d37fc637e223ced3aa8324f3650bf52242";
    path = fetchzip {
      url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz";
      hash = "sha256-dvit+yvc0MnipqWjxJdfIsA6fJaJZOaIpx4w4woCxbE=";
    };
  }
  {
    name = "12209db20ce873af176138b76632931def33a10539387cba745db72933c43d274d56";
    path = fetchzip {
      url = "https://codeberg.org/ifreund/zig-pixman/archive/v0.2.0.tar.gz";
      hash = "sha256-zcfZEMnipWDPuptl9UN0PoaJDjy2EHc7Wwi4GQq3hkY=";
    };
  }
  {
    name = "1220a4029ee3ee70d3175c69878e2b70dccd000c4324bc74ba800d8a143b7250fb38";
    path = fetchzip {
      url = "https://git.sr.ht/~novakane/zig-fcft/archive/1.1.0.tar.gz";
      hash = "sha256-JAR6Ticav9l/3aemJWGsjXMEUyHjuhUr3L0fznnLoEY=";
    };
  }
]
$ nix --extra-experimental-features 'nix-command flakes' run github:nix-community/zon2nix# -- build.zig.zon
error: builder for '/nix/store/3r2dn9pzmhj23rdcq12wq90j34kxvkfd-zig-linux-x86_64-0.15.0-dev.75+03123916e.tar.xz.drv' failed with exit code 1;
       last 19 log lines:
       >
       > trying https://ziglang.org/builds/zig-linux-x86_64-0.15.0-dev.75+03123916e.tar.xz
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > Warning: Problem (retrying all errors). Will retry in 1 seconds. 3 retries
       > Warning: left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries
       > Warning: left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retries
       > Warning: left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > error: cannot download zig-linux-x86_64-0.15.0-dev.75+03123916e.tar.xz from any mirror
       For full logs, run 'nix log /nix/store/3r2dn9pzmhj23rdcq12wq90j34kxvkfd-zig-linux-x86_64-0.15.0-dev.75+03123916e.tar.xz.drv'.
error: 1 dependencies of derivation '/nix/store/9zsiiw348zh1gjwijyx1ax9rw5wx5kjd-zig-0.15.0-dev.75+03123916e.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4vr23vc95v3lnrr9nz9gci0bc6rxhwg5-zig-hook.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9wmpfvylqxnpj7pjwy59qw779alqkph5-zon2nix-0.1.2.drv' failed to build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions