!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
11 Jul 2025
@raitobezarius:matrix.orgraitobezariusNew rule18:40:24
@raitobezarius:matrix.orgraitobezariusLet's hash the drv name18:40:34
@raitobezarius:matrix.orgraitobezariusAnd replace the whole thing with 32 random chars18:40:41
@raitobezarius:matrix.orgraitobezariusIf you do keep failed, you get to rename it to the original supposed name 18:40:54
@raitobezarius:matrix.orgraitobezarius(idea brought to me by horrors' despair)18:41:20
@puck:puck.moepuck
In reply to @raitobezarius:matrix.org
Let's hash the drv name
use the modulo drv hash tbh
18:41:53
@jade_:matrix.orgjade_im just thinking ship it19:05:56
@emilazy:matrix.orgemily
In reply to @raitobezarius:matrix.org
I mean even if it was 0 byte added, any program can decide to add itself and just go wrong right?
but like, that was true before
19:08:26
@emilazy:matrix.orgemilyit's just that now much more of the limit is being eaten19:08:40
@emilazy:matrix.orgemily
In reply to @raitobezarius:matrix.org
If you do keep failed, you get to rename it to the original supposed name
I don't like this because it could impede reproducing a failure
19:09:19
@emilazy:matrix.orgemily
In reply to @emilazy:matrix.org
it's just that now much more of the limit is being eaten
like empirically it's the difference between having to patch a bunch of stuff and not
19:10:03
@jade_:matrix.orgjade_another possible and silly answer is to dump symlinks in /tmp for builds. then you can screw with the builds but that's not "our" problem19:14:05
@emilazy:matrix.orgemilywait how would that fix things using relative build dir directories for sockets to open?19:14:55
@jade_:matrix.orgjade_ oh, they're doing that? that's unfortunate 19:15:10
@emilazy:matrix.orgemily it doesn't seem unfortunate to me. it'll be inevitable once /tmp is closed off 19:15:33
@jade_:matrix.orgjade_ at work we made a symlink at /tmp/something-pc-socket to //.pc/something-socket for our process-compose sockets 19:15:41
@jade_:matrix.orgjade_because of that problem19:15:53
@jade_:matrix.orgjade_ * at work we made a symlink at /tmp/something-pc-socket to $sourcedir/.pc/something-socket for our process-compose sockets 19:16:10
@emilazy:matrix.orgemilylike ultimately that's the scratch space you get to run tests etc.19:16:13
@jade_:matrix.orgjade_ /nix/var/nix/builds is only 19 chars 19:18:28
@emilazy:matrix.orgemily /tmp was only 4 19:21:47
@emilazy:matrix.orgemilyI wouldn't be raising it if three separate people didn't notice builds starting to fail because of it19:22:41
@raitobezarius:matrix.orgraitobezariusCan we summarize this topic in an issue so we can process it in async? I am not against empirical workarounds for this case19:22:41
@emilazy:matrix.orgemilyI can probably in ~an hour19:23:58
@raitobezarius:matrix.orgraitobezariusI just would like to obtain information on the scale of this problem and what does changing this buy us wrt to the ocean of (weird?) software19:24:42
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
I wouldn't be raising it if three separate people didn't notice builds starting to fail because of it
Don't get us wrong, we consider it to be a serious problem but I just want to ensure we don't pile up workarounds where we could look for a definitive solution
19:25:33
@emilazy:matrix.orgemilyRandy who regularly rebuilds the world reported failures, another contributor who doesn't rebuild the world but reviews lead package stuff reported failures, and Jujutsu CI broke through several separate codepaths19:25:54
@emilazy:matrix.orgemilylast one definitely doesn't use Lix (picked up the issue on the backport), first one definitely does, no idea about the middle. but clearly it's nontrivially breaking19:26:32
@emilazy:matrix.orgemily*leaf package19:26:43
@emilazy:matrix.orgemily
In reply to @raitobezarius:matrix.org
Don't get us wrong, we consider it to be a serious problem but I just want to ensure we don't pile up workarounds where we could look for a definitive solution
I think there is no definitive solution to a path length limit being low. ultimately some stuff will be tested with /tmp so if we close off /tmp at some point then the best we can do is /nix/b/0 or something which still might break things
19:28:31

Show newer messages


Back to Room ListRoom Version: 10