| 2 Dec 2025 |
niklaskorz | big font time | 23:02:39 |
xored | * can someone explain to me why lix is this weird?
[root@shiva:~]# cat /etc/resolv.conf
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 127.0.0.53
options edns0 trust-ad
search .
[root@shiva:~]# nix-build -E '(import <nixpkgs> {}).runCommand "test" {outputHashMode = "recursive"; outputHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";} "cat /etc/resolv.conf"'
this derivation will be built:
/nix/store/qnd72abhlx97l63pppg9n23nwcnm00fl-test.drv
building '/nix/store/qnd72abhlx97l63pppg9n23nwcnm00fl-test.drv'...
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
options edns0 trust-ad
search .
nameserver 169.254.1.1
nameserver 64:ff9b:1:4b8e:472e:a5c8:a9fe:0101
apparently there's a thing called pasta and I saw some resolvconf rewrite in the code, whatever the case, if my host is ipv6 only I get no dns in the sandbox, looks like a bug
| 23:03:12 |
niklaskorz | thanks :D | 23:03:18 |
xored | yeah I hate element's input man | 23:03:24 |
xored | tl;dr on the sandbox the dns is all messed up | 23:03:42 |
xored | I have an ipv6 only host and dns64 running on my network | 23:03:53 |
xored | the host resolves just fine, but when I build anything through the sandbox I can't download anything | 23:04:11 |
niklaskorz | it's described in the Lix 2.94 release notes | 23:04:23 |
niklaskorz | https://lix.systems/blog/2025-11-18-lix-2.94-release/ | 23:04:28 |
niklaskorz | it only picks up the first entry in your dns resolv apparently | 23:04:50 |
niklaskorz | * it only picks up the first entry in your dns resolv.conf apparently | 23:05:17 |
xored | hmmmm I'm using systemd-resolved | 23:05:30 |
xored | there's only one entry | 23:05:36 |
xored | I think it's doing something "not clever" | 23:05:52 |
xored | so apparently the v6 address is also a nat64 for 169.254.1.1 | 23:07:16 |
xored | what on earth is lix doing man | 23:07:23 |
raitobezarius | this is pasta | 23:07:32 |
raitobezarius | 169.254.1.1 is connected to your host localhost | 23:07:43 |
xored | well I choose Lix not pasta lmao | 23:07:52 |
raitobezarius | https://docs.lix.systems/manual/lix/stable/advanced-topics/pasta.html | 23:08:01 |
raitobezarius | so you're saying with an IPv6-only system, you are still having a issue with DNS64/NAT64? | 23:08:18 |
raitobezarius | all Lix infrastructure is similar and is running DNS64/NAT64 as well | 23:08:26 |
raitobezarius | which Lix version? | 23:08:30 |
hexa | pasta chose you | 23:08:36 |
xored | stappp | 23:08:43 |
xored | so I don't know to the disable it in an invocation since I'm doing a remote build | 23:09:04 |
xored | regardless this is a bug | 23:09:13 |
raitobezarius | can you tell me which lix version are you using? | 23:09:20 |
raitobezarius | https://git.lix.systems/lix-project/lix/issues/1014 | 23:09:32 |
xored | 2.94.0 | 23:09:35 |