!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1175 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org191 Servers

Load older messages


SenderMessageTime
29 Dec 2025
@emilazy:matrix.orgemilyyeah, would definitely not trust this without testing :D01:19:44
@emilazy:matrix.orgemily it does have the somewhat sad effect that every call will do heap allocation when you have lots of fds, but probably code relying on select isn't exactly hyperoptimized to begin with…? 01:20:28
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaif you have more fds than what the platform supports, your alternative is getting the fault, so...01:23:08
@ihar.hrachyshka:matrix.orgIhar Hrachyshkawe are not making it worse01:23:26
@ihar.hrachyshka:matrix.orgIhar Hrachyshka* if you have more fds than what the platform supports, your alternative atm is getting the fault, so...01:24:00
@emilazy:matrix.orgemilyyeah01:25:06
@emilazy:matrix.orgemily can always do both this and raising FD_SETSIZE 01:25:17
@reckenrode:matrix.orgRandy Eckenrode I got SwiftPM working correctly in a dev shell to build my Advent of Code solutions from 2022 (which were written in Swift). The resulting binary correctly targets macOS 13 per the platforms configuration in Package.swift. 01:27:55
@reckenrode:matrix.orgRandy EckenrodeI guess next is splitting out the stdlib. I’m not sure what else is left other than maybe seeing if I can do some kind of cursed prebuilts thing.01:28:15
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaif I were to go with alloc (which I will), I'd do raising only if I notice perf degradation. (atm it smells like premature optimization)01:28:17
@reckenrode:matrix.orgRandy Eckenrode(And building on Linux.)01:28:18
@emilazy:matrix.orgemilyyeah I expect the syscall overhead is much higher than allocation anyway.01:30:40
@emilazy:matrix.orgemilygiven the nature of the call01:30:51
@emilazy:matrix.orgemily I hope they require a new enough C standard for the sizeof-struct-with-runtime-array-size thing to work. (sizeof (int32_t) * nelems could have padding issues in theory I think.) 01:31:59
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaok I don't know much about it. what would be "new enough C standard"?01:33:08
@ihar.hrachyshka:matrix.orgIhar Hrachyshkait's gnu99 as per meson.build01:34:03
@ihar.hrachyshka:matrix.orgIhar Hrachyshka * it's gnu99 as per meson.build 01:34:08
@emilazy:matrix.orgemilyI believe it's okay in C99+ so should be fine01:34:39
@ihar.hrachyshka:matrix.orgIhar Hrachyshkabesides this select exhaustion issue, I have two more patches related to nixpkgs VMs running on darwin. These are waiting for reviews for quite a while. https://github.com/NixOS/nixpkgs/pull/440579 - keeping VM gcroots alive while VM is running (on Lix for now) fix dns resolution for some vpn scenarios; enabling local dns resolver for linux builder: https://github.com/NixOS/nixpkgs/pull/434893 02:06:41
@flokli:matrix.orgflokli emilycan you bonk https://github.com/NixOS/nixpkgs/pull/474675 for now? 23:15:10
19 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".19:22:35
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".19:22:35
@0x4a6f:matrix.org[0x4A6F] joined the room.19:23:06
@nbardiuk:matrix.orgnazarii joined the room.19:24:29
@casey:hubns.netcasey © joined the room.19:27:39
@elvishjerricco:matrix.orgElvishJerricco joined the room.19:38:47
@andi:kack.itandi- joined the room.19:39:40
@stick:matrix.orgstick joined the room.19:46:16
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.19:50:54
@joerg:bethselamin.deMic92 joined the room.19:51:07

Show newer messages


Back to Room ListRoom Version: 6