!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.orgraitobezariushow can this be a sustainable fix though?18:13:59
@raitobezarius:matrix.orgraitobezariuswhat makes it that saving few bytes would last in the future?18:14:10
@emilazy:matrix.orgemilysustainable because everything has fit into that length up to now? :)18:18:25
@emilazy:matrix.orgemilyunless you're projecting unbounded growth in the size of the build directory path18:18:39
@emilazy:matrix.orgemilyI'm not sure what function you're projecting to go up18:18:57
@emilazy:matrix.orgemily or do you just mean we've added 15 bytes and nix-build- is only 10? 18:20:16
@raitobezarius:matrix.orgraitobezariusI mean even if it was 0 byte added, any program can decide to add itself and just go wrong right?18:27:05
@raitobezarius:matrix.orgraitobezariusOk18:40:23
@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

Show newer messages


Back to Room ListRoom Version: 10