!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
28 Jul 2025
@emilazy:matrix.orgemilyit's probably like one of twenty things01:53:57
@raitobezarius:matrix.orgraitobezariusneat01:54:22
@emilazy:matrix.orgemilyeventually I will convince someone that Instruments is actually good and snipe them into finding the other 19 :P01:54:22
* @raitobezarius:matrix.orgraitobezarius set someone to emilazy01:54:33
@esperlily:matrix.orgEsperLily [she/her]doesn't it? on darwin, no chroot means the sandbox is ``` (version 1) (allow default)01:56:32
@esperlily:matrix.orgEsperLily [she/her]oops01:56:34
@raitobezarius:matrix.orgraitobezarius
In reply to @esperlily:matrix.org
doesn't it? on darwin, no chroot means the sandbox is ```
(version 1)
(allow default)
yes and allow-setuid no
01:56:45
@raitobezarius:matrix.orgraitobezariusbasically01:56:46
@esperlily:matrix.orgEsperLily [she/her] *

doesn't it? on darwin, no chroot means the sandbox is ```
(version 1)
(allow default)
(deny file-write-setugid)

01:56:53
@esperlily:matrix.orgEsperLily [she/her] * doesn't it? on darwin, no chroot means the sandbox is (version 1) (allow default) (deny file-write-setugid) 01:57:02
@jade_:matrix.orgjade_theres so many bugs that are just "lol someone needs to spend 2h finding them" that are massive impact :V01:57:11
@raitobezarius:matrix.orgraitobezarius
In reply to @raitobezarius:matrix.org
basically
the problem is that chroot or no chroot doesn't tell me if there's a sandbox policy that prevent me from reading outside of the Nix store
01:57:33
@raitobezarius:matrix.orgraitobezariusor the build directory01:57:36
@raitobezarius:matrix.orgraitobezarius so to simplify things, i can just assume that i can NEVER read outside of these directories 01:57:46
@raitobezarius:matrix.orgraitobezariuswhich would be the maximum sandbox policy applied01:57:54
@raitobezarius:matrix.orgraitobezariusright?01:57:55
@emilazy:matrix.orgemily useChroot means "use sandbox" on macOS 01:57:59
@raitobezarius:matrix.orgraitobezarius(do note that it's 4am and i'm stupid)01:58:02
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
useChroot means "use sandbox" on macOS
there's only 2 levels of sandbox policy?
01:58:18
@emilazy:matrix.orgemilyunfortunately I have roughly a year's worth of 2 hour high-impact tasks to get through01:58:26
@raitobezarius:matrix.orgraitobezariusi hate this boolean so hard01:58:28
@emilazy:matrix.orgemilythree01:58:32
@raitobezarius:matrix.orgraitobezariusso as soon sandbox is used, this is going to be fucked01:58:52
@esperlily:matrix.orgEsperLily [she/her] useChroot is initialized based off of the sandbox setting. it's true if sandbox is enabled, or if sandbox is relaxed and the derivation is input-addressed. it's false if sandbox is disabled 01:59:05
@raitobezarius:matrix.orgraitobezariusok, I got a gist of the problem01:59:17
@raitobezarius:matrix.orgraitobezariusI will try to fix this tomorrow01:59:20
@emilazy:matrix.orgemilyI'm confused01:59:23
@emilazy:matrix.orgemilyI think the current behaviour is fine?01:59:34
@emilazy:matrix.orgemilywe copy on Linux and we copy on Darwin01:59:37
@raitobezarius:matrix.orgraitobezariuslet me just verify that the path we pass in the environment01:59:50

Show newer messages


Back to Room ListRoom Version: 10