!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
15 Aug 2025
@raitobezarius:matrix.orgraitobezariusbut i'm unable to test it thoroughly15:30:47
@raitobezarius:matrix.orgraitobezariusbut log in is mandatory (via GitHub)15:30:53
@raitobezarius:matrix.orgraitobezarius* but log in is mandatory (via GitHub or Lix SSO)15:30:56
@emilazy:matrix.orgemilyah ok I didn't realize it would SSO15:39:41
@emilazy:matrix.orgemilyty15:39:49
@raitobezarius:matrix.orgraitobezariusthe SSO flow is confusing15:40:20
@raitobezarius:matrix.orgraitobezariuslet me know if you need help15:40:23
@helle:tacobelllabs.nethelle (just a stray cat girl)ah yes, fixing code so our code will run if compiled on a new version of macos but ran on an old version of macos17:31:51
@shawn8901:matrix.org@shawn8901:matrix.org left the room.18:27:07
@helle:tacobelllabs.nethelle (just a stray cat girl)(this is for future not even existing macos releases)19:01:02
@emilazy:matrix.orgemilyhm, version format, or?19:07:16
@helle:tacobelllabs.nethelle (just a stray cat girl)no, this is a feature MacOS X will support in the future, but our binaries are built on a new version, but still should run on older ones 19:13:59
@helle:tacobelllabs.nethelle (just a stray cat girl)so this will be amusing failures if we don't do this19:14:13
@emilazy:matrix.orgemilythat's what availability annotations are for19:43:26
@emilazy:matrix.orgemily if (__builtin_available(macOS …, *)) or such 19:43:36
@emilazy:matrix.orgemilybut you will have to compile with an SDK that supports that feature, which if it's not even shipping yet Nixpkgs won't have the SDK19:43:53
@emilazy:matrix.orgemily which means an availability check inside an #if if you want to land the code before then I guess 19:44:11
@helle:tacobelllabs.nethelle (just a stray cat girl)there is a different trick in this case that we can do19:45:46
@helle:tacobelllabs.nethelle (just a stray cat girl)I need to finish this patch tomorrow19:45:56
@helle:tacobelllabs.nethelle (just a stray cat girl)this is for SOCK_CLOEXEC, we can even if we are compiled with it, try and fail and retry without even if the #ifdef showed it was available 19:49:53
@emilazy:matrix.orgemilywhat's the functionality?19:48:25
@emilazy:matrix.orgemily wait, macOS is adding SOCK_CLOEXEC? is that in Tahoe? 19:51:04
@helle:tacobelllabs.nethelle (just a stray cat girl)at some point, it is in the new POSIX spec so we are expecting MacOS X to support it "soon"19:51:41
@helle:tacobelllabs.nethelle (just a stray cat girl)hence needing to make sure we don't create ourselves some very funny bug reports19:51:57
@emilazy:matrix.orgemilyhmm, I wouldn't necessarily bet on that… Apple only certify macOS as UNIX 03, which corresponds to POSIX 200120:13:33
@helle:tacobelllabs.nethelle (just a stray cat girl)well, I think it is still worth while safeguarding the code against it, this isn't in a hot path, so we can easily support this20:14:10
@helle:tacobelllabs.nethelle (just a stray cat girl)(and the code itself is like 4 lines of code)20:14:20
@helle:tacobelllabs.nethelle (just a stray cat girl)(we discussed this with some people in person who actually suggested making sure we wouldn't have a breakage in this way when fixing all this)20:15:16
@emilazy:matrix.orgemilysure, feature detection is good in general :) it may help non-macOS20:16:27
@emilazy:matrix.orgemilyI would not expect Apple to add things that get added to POSIX in the general case though20:16:40

Show newer messages


Back to Room ListRoom Version: 10