Skip to content

error: unable to connect to server: NameServerFailure upon building zls #62

Description

@theoparis

See zix-project/zig-flake#2
https://github.com/zix-os/zig-flake/blob/push-pzkukzsswxwz/zls.nix
https://github.com/zix-os/zig-flake/blob/push-pzkukzsswxwz/flake.nix#L88

nix build github:zix-os/zig-flake#zls

I'm not sure if there's something I did wrong or if zon2nix doesn't work anymore 🤔

error: Cannot build '/nix/store/0vgjv3qhnvpdnj2g2f4qrlvd1m7zyp2a-zls-0.16.0-git+a8c5850.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/3cnr0dpfqgza1mpk3x2ykh2m37mkpa7f-zls-0.16.0-git+a8c5850
       Last 19 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/3rp9bl6vz59f681jj4ylz0hz096974n1-source
       > source root is source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > zig build flags: -j12 -Dcpu=baseline --release=safe
       > /build/source/build.zig.zon:22:20: error: unable to connect to server: NameServerFailure
       >             .url = "https://github.com/ziglibs/known-folders/archive/82027007c0eb199a3242c167a5cffd83b6ee571b.tar.gz",
       >                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       > /build/source/build.zig.zon:26:20: error: unable to connect to server: NameServerFailure
       >             .url = "https://github.com/ziglibs/diffz/archive/aa11caef328a3f20f2493f8fd676a1dfa7819246.tar.gz",
       >                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       > /build/source/build.zig.zon:30:20: error: unable to connect to server: NameServerFailure
       >             .url = "https://github.com/zigtools/lsp-kit/archive/7b03f0b6801babffe76608cf3db59793902a21d6.tar.gz",
       >                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       >
       For full logs, run:
         nix log /nix/store/0vgjv3qhnvpdnj2g2f4qrlvd1m7zyp2a-zls-0.16.0-git+a8c5850.drv

Additionally garnix says it doesn't know how to unpack the dependency archives 🤔 https://github.com/zix-os/zig-flake/runs/62862818049

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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