zls
zls copied to clipboard
Nix flake fails to build
Zig Version
N/A
ZLS Version
66f0f90ec5468fbea1f7b65451eff5ca70d8f305
Client / Code Editor / Extensions
No response
Steps to Reproduce and Observed Behavior
Run nix shell github:zigtools/zls/66f0f90ec5468fbea1f7b65451eff5ca70d8f305.
Expected Behavior
It should build correctly. Maybe the zig version should be pinned to a specific version rather than using zig-overlay.packages.${system}.master?
Relevant log output
Nix output:
$ nix shell github:zigtools/zls/66f0f90ec5468fbea1f7b65451eff5ca70d8f305
error: builder for '/nix/store/vk0smbidiya9nzxjxihfybwf4hway0rf-zig-linux-x86_64-0.14.0-dev.1573+4d81e8ee9.tar.xz.drv' failed with exit code 1;
last 7 log lines:
>
> trying https://ziglang.org/builds/zig-linux-x86_64-0.14.0-dev.1573+4d81e8ee9.tar.xz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 153 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
> curl: (22) The requested URL returned error: 404
> error: cannot download zig-linux-x86_64-0.14.0-dev.1573+4d81e8ee9.tar.xz from any mirror
For full logs, run 'nix log /nix/store/vk0smbidiya9nzxjxihfybwf4hway0rf-zig-linux-x86_64-0.14.0-dev.1573+4d81e8ee9.tar.xz.drv'.
error: 1 dependencies of derivation '/nix/store/5nxcfi1jc7gncsml81z4lvqq0ficl0m7-zig-0.14.0-dev.1573+4d81e8ee9.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xqdlgzspr94jrhx1c6ajam9c5jrqn7xf-zls.drv' failed to build
Forking and running a flake update fixed the problem for me
The pinned Zig version has been removed from ziglang.org/builds/. Updating the nix flakes will update the Zig version.
fixed by da79fcb512a5f28b7de9ea9a15b8188d0f3d2a43