!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

418 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.141 Servers

Load older messages


SenderMessageTime
20 Jul 2025
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)on the host?15:02:02
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)i mean15:02:12
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)do you have ipv4 connectivity on the host?15:02:16
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)for reference, this is the host builder15:02:32
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
[root@build01:~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: host0@if11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 3e:b0:ee:45:01:14 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 2001:bc8:38ee:100:8000::20/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::3cb0:eeff:fe45:114/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever
15:02:34
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
[root@build01:~]# ip -6 r
64:ff9b::/96 via 2001:bc8:38ee:100::100 dev host0 proto static metric 1024 pref medium

(ipv4 comes from there)

15:02:54
@aloisw:julia0815.dealoiswAh that might do it, I do have ipv4 on the host.15:03:06
@aloisw:julia0815.dealoiswRight, removing all IPv4 addresses (except 127.0.0.1/8 on lo) makes IPv4 connectivity go away in the sandbox too.15:05:29
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)which makes sense to some extent15:06:25
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)but creates that very funny situation15:06:29
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)where IPv4-only localhost services are now unreachable15:06:39
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) a workaround is to always add 169.254.1.1 to lo 15:06:53
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)alternatively pasta could heuristically recognize NAT64 prefixes and do the right thing15:07:40
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)not so sure this is a good idea15:07:45
@aloisw:julia0815.dealoisw
In reply to @raitobezarius:matrix.org
a workaround is to always add 169.254.1.1 to lo
The arguments passed to pasta are not different, so this seems like a pasta issue?
15:08:37
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)yep15:11:50
21 Jul 2025
@jade_:matrix.orgjade_yippeee, time to reverse engineer how output-addressed store paths with references work. I could do IA but it's not truthful since Lix doesn't get to see the input as it's externally generated...19:00:41
@jade_:matrix.orgjade_* yippeee, time to reverse engineer how output-addressed store paths with references serialize in nix-store --export. I could do IA but it's not truthful since Lix doesn't get to see the input as it's externally generated...19:00:49
@jade_:matrix.orgjade_ (I am building nix store paths directly with buck2(!) and jamming them directly into the store. they're to be used with builtins.fetchClosure ideally. hopefully we didn't delete enough CA code that we can't run that stuff anymore) 19:01:46
@jade_:matrix.orgjade_actually it looks like the fixed-output derivations cannot have references thing is entirely at the builder layer? seemingly CA paths just are allowed to have references?19:12:35
@jade_:matrix.orgjade_* actually it looks like the fixed-output derivations cannot have references thing is entirely at the builder layer? seemingly output-addressed paths just are allowed to have references?19:12:44
@jade_:matrix.orgjade_ .... oh. if you want to import random bullshit IA paths, you can't do it with nix-store --import. I wonder how I get around that. 19:29:58
@jade_:matrix.orgjade_ * .... oh. if you want to import random bullshit IA paths, you can't do it with nix-store --import. I wonder how I get around that because I have no reason to not be CA. 19:30:19
@jade_:matrix.orgjade_........... why did they do modulo hashing?!19:33:42
@jade_:matrix.orgjade_what is the purpose of that?19:33:48
@jade_:matrix.orgjade_"jade go read Eelco's thesis" yeah okay it's in there19:34:14
@jade_:matrix.orgjade_page 14419:34:22
@jade_:matrix.orgjade_oh! modulo hashes are identical if you prohibit self refs. lets go!19:34:45
@jade_:matrix.orgjade_* oh! modulo hashes are possibly identical if you prohibit self refs. lets go!19:35:09
@jade_:matrix.orgjade_ oh no. okay so I have to implement a thing that either links to the nix implementation or implements the protocol, because nix-store --import doesn't support importing CA hashed paths. Either way I am quite displeased. 19:39:45

Show newer messages


Back to Room ListRoom Version: 10