Skip to content

no dns resolved when building with sandbox enabled #777

Description

@mio-19

Bug description

domains cannot be resolved when running nix build with sandbox enabled

To Reproduce

Steps to reproduce the behavior:

Logs

       last 14 log lines:
       >
       > trying https://github.com/UnnoTed/wireguird/archive/master.tar.gz
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: github.com
       > Warning: Problem : timeout. Will retry in 1 second. 3 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: github.com
       > Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: github.com
       > Warning: Problem : timeout. Will retry in 4 seconds. 1 retry left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: github.com
       > error checking the existence of https://tarballs.nixos.org/sha256/sha256-iv0/HSu/6IOVmRZcyCazLdJyyBsu5PyTajLubk0speI=:
       > curl: (6) Could not resolve host: tarballs.nixos.org
       > error: cannot download source from any mirror
       For full logs, run 'nix log /nix/store/w9dvhzyv34swj03a1fk3ly26rrq0ppp6-source.drv'.

WSL version

WSL version: 2.6.0.0
Kernel version: 6.6.87.2-1
WSLg version: 1.0.66
MSRDC version: 1.2.6228
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.4946

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions