!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
2 Dec 2025
@reckenrode:matrix.orgRandy EckenrodeThere seem to be a lot of compiler crashes in this ownership stuff. 😞03:12:43
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/swiftlang/swift/issues/84552#issuecomment-340924563404:59:12
@reckenrode:matrix.orgRandy EckenrodeDisabling the verify works.04:59:18
@reckenrode:matrix.orgRandy Eckenrode * 05:00:05
@reckenrode:matrix.orgRandy Eckenrode
       > Undefined symbols for architecture arm64:
       >   "_swift_coroFrameAlloc", referenced from:
       >       _$s11swiftASTGen16ConcatCollectionVyxq_GSlAASly7ElementQz5IndexQzcirTW in libswiftASTGen.a(Bridge.swift.o)
       >       _$s11swiftASTGen16ConcatCollectionVy7ElementQzAC5IndexOyxq__Gcir in libswiftASTGen.a(Bridge.swift.o)
05:04:04
@reckenrode:matrix.orgRandy EckenrodeThat’s better than a compiler crash I guess.05:04:15
@weethet:catgirl.cloudWeetHet Is there any reason to why ipc-sysv* aren't allowed in macOS sandbox? 18:02:17
@weethet:catgirl.cloudWeetHet * Is there any reason to why ipc-sysv* isn't allowed in macOS sandbox? 18:02:27
@weethet:catgirl.cloudWeetHet Or did no one ever try to run postgres inside of a nix-build? 18:02:43
@weethet:catgirl.cloudWeetHet

posix is allowed:

; Allow POSIX semaphores and shared memory.
(allow ipc-posix*)
18:03:54
@niklaskorz:matrix.orgniklaskorzhttps://github.com/NixOS/nix/pull/1087818:29:46
@niklaskorz:matrix.orgniklaskorzcppnix added it over a year ago18:30:02
@weethet:catgirl.cloudWeetHetOh okay so Lix just hasn't picked it up18:30:16
@niklaskorz:matrix.orgniklaskorzhttps://git.lix.systems/lix-project/lix/issues/69118:30:26
@niklaskorz:matrix.orgniklaskorz

that sandbox change got (relatively soft-) rejected here because it's an effectively deprecated feature on macOS that allows random communication between derivations. you might be able to find it, someone filed a bug requesting said port.

18:30:30
@niklaskorz:matrix.orgniklaskorzso according to that thread: contributions welcome18:32:32
@weethet:catgirl.cloudWeetHetDamn okay I need to backport the ipc cleanup18:32:47
@weethet:catgirl.cloudWeetHetSure I guess18:32:50
@reckenrode:matrix.orgRandy EckenrodeAllowing communication between derivations seems problematic. Can’t Postgres just include a sandbox profile with what it needs?18:36:13
@reckenrode:matrix.orgRandy EckenrodeJust went and checked the CVEs from earlier. Those were about being able to inject into a build. This seems more like everybody being able to interfere with each other like if they had access to localhost.18:43:59
@reckenrode:matrix.orgRandy EckenrodeDoes upstream Nix tie it to whether local networking is allowed?18:44:18
@reckenrode:matrix.orgRandy EckenrodeThe upstream Nix patch just seems to be about cleaning up IPC objects.18:47:20
@weethet:catgirl.cloudWeetHetUsing relaxed is weird18:49:09
@weethet:catgirl.cloudWeetHet I'm gonna put it behind __darwinAllowSysvIPC 18:49:56
@weethet:catgirl.cloudWeetHet * I'm gonna put it behind __darwinAllowSysVIPC 18:56:20
@emilazy:matrix.orgemilyplease don't19:08:40
@emilazy:matrix.orgemilyit's a misfeature that shouldn't have been added to the Nix sandbox profile19:08:54
@emilazy:matrix.orgemilyplease see https://git.lix.systems/lix-project/lix/issues/62319:09:08
@emilazy:matrix.orgemily you can use a sandboxProfile, but better would be to fix Postgres to not need ye olde SysV IPC 19:09:25
@emilazy:matrix.orgemilythere is some linked discussion on the mailing list19:09:28

Show newer messages


Back to Room ListRoom Version: 6