!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
16 Apr 2026
@xored:xored.lolxored I'd have access to system 20:16:52
@xored:xored.lolxoredi just need to find a way to have them filtered out from packages and legacyPackages, nix flake show:_20:17:24
@xored:xored.lolxored
 └───x86_64-linux
        ├───nvim omitted (use '--all-systems' to show)
        ├───prometheus-opnsense-exporter omitted (use '--all-systems' to show)
        ├───write-flake omitted (use '--all-systems' to show)
        ├───write-inputs omitted (use '--all-systems' to show)
        ├───write-lock omitted (use '--all-systems' to show)
        ├───x86_64-linux/arrs/prowlarr omitted (use '--all-systems' to show)
        ├───x86_64-linux/arrs/radarr omitted (use '--all-systems' to show)
        ├───x86_64-linux/arrs/seerr omitted (use '--all-systems' to show)
        └───x86_64-linux/arrs/sonarr omitted (use '--all-systems' to show)_
20:17:58
17 Apr 2026
@logn:zirco.devLogN changed their display name from LogN [unavailable @ CinemaCon -> 4/18] to LogN.01:24:09
@reckenrode:matrix.orgRandy EckenrodeGot network_cmds building finally. It ended up being easier to restore the XNU headers build than to try to keep scraping structs out of files. Unfortunately, the XNU headers still have to be copied because some conflict with the SDK.04:03:48
@viraptor:tchncs.deviraptor @reckenrode:matrix.org i finally got to compile your swift-update-mk2 branch to play with hammerspoon, but even with your settings.json and the posted command for swbuild, it still tries to run xcodebuild -dumpPIF almost immediately. I tried a few different things and playing with DEVELOPER_DIR to get to where you were but no luck. Have you got a branch from your experiments? It could save me some head-desk time 😀 12:03:14
@viraptor:tchncs.deviraptor * @reckenrode:matrix.org i finally got to compile your swift-update-mk2 branch to play with hammerspoon, but even with your settings.json and the posted command for swbuild, it still tries to run xcodebuild -dumpPIF almost immediately. I tried a few different things with the build service location and playing with DEVELOPER_DIR to get to where you were but no luck yet. Have you got a branch from your experiments? It could save me some head-desk time 😀 12:13:48
@viraptor:tchncs.deviraptor * @reckenrode:matrix.org i finally got to compile your swift-update-mk2 branch to play with hammerspoon, but even with your settings.json and the posted command for swbuild, it still tries to run xcodebuild -dumpPIF almost immediately. I tried a few different things with the build service location and playing with DEVELOPER_DIR to get to where you were but no luck yet. Have you got a branch from your experiments? It could save me some head-desk time 😀
Edit: just having a bad feeling - you didn't shim the whole xcbbuildservice for this, right?...
12:17:18
@viraptor:tchncs.deviraptor * @reckenrode:matrix.org i finally got to compile your swift-update-mk2 branch to play with hammerspoon, but even with your settings.json and the posted command for swbuild, it still tries to run xcodebuild -dumpPIF almost immediately. I tried a few different things with the build service location and playing with DEVELOPER_DIR to get to where you were but no luck yet. Have you got a branch from your experiments? It could save me some head-desk time 😀
Edit: just having a bad feeling - you didn't custom shim the whole xcbbuildservice for this, right?...
12:17:43
@reckenrode:matrix.orgRandy Eckenrode I was using my branch without any changes, the provided settings.json, and the command-line as posted. I don’t think I’ve changed anything in how Swift Build is built in the meantime. I’m also pretty sure I tried building it in a derivation and not locally where it might pick up the installed xcodebuild by accident, but I can’t recall exactly. 12:59:52
@reckenrode:matrix.orgRandy Eckenrode Unrelated, but autoreconfHook is turning into autoBreakDarwinHook. 13:00:30
@reckenrode:matrix.orgRandy EckenrodeAnything that uses libiconv is getting broken because it has questionable ideas about how libiconv should behave. (While this issue is technically a behavioral difference and possibly a bug in Apple’s implementation, it’s not clear how likely it is a problem in practice.)13:01:20
@reckenrode:matrix.orgRandy EckenrodeI wonder if we should apply the UTF-8-MAC patch to GNU libiconv and just use that. The ABI compatibility stuff should still be there in our derivation.13:06:16
@reckenrode:matrix.orgRandy EckenrodeI’m currently doing a rebuild with the patch applied. I’m rebuilding all Darwin source releases plus .NET plus vulkan-caps-viewer, which involves building GJC, node, etc.16:01:05
@axel_w:matrix.orgaxwsystem.defaults.customUserPreferences really should be a homemanager setting.20:08:18
@axel_w:matrix.orgaxwOr how can that be set with different values for different users?20:09:17
@viraptor:tchncs.deviraptorI'm digging into this and I don't think we can actually use just swbuild. Here's my messy hammerspoon on your branch https://github.com/viraptor/nixpkgs/commit/ec6761783b0a57ed786bfc14df90c5a1ebb69b03 but in a sandbox it still fails on trying to access xcodebuild. It seems to be an unconditional thing in https://github.com/swiftlang/swift-build/blob/22b0c927248b2b4a4217fc0c72aed293b2c68df1/Sources/SWBBuildService/Messages.swift#L211 There's also no .pbxproj parser linked anywhere in that project that I can find. I think swbuild still relies on xcodebuild in the end, so I'll need to fix up the old facebook one 😢20:56:46
@reckenrode:matrix.orgRandy Eckenrode What does -dumpPIF do? Is there a compromise where the Facebook one gains the ability to do that? 21:21:33
@reckenrode:matrix.orgRandy EckenrodeThis just makes me hate Swift more. It’s fake open.21:23:46
@viraptor:tchncs.deviraptorIt seems to essentially rewrite the .xcodeproj into a json form. And yeah, I'm just looking into adding that. There are some elements that are not parsed properly for swift too, so it's going to be "fun".21:26:43
@viraptor:tchncs.deviraptor(especially since I haven't done C++ in like 2 decades...)21:28:32
@reckenrode:matrix.orgRandy EckenrodeIf we just need to reserialize it, can we use one of the existing tools to dump the project unto JSON?21:29:30
@reckenrode:matrix.orgRandy Eckenrode * 21:29:38
@reckenrode:matrix.orgRandy Eckenrode * 21:30:36
@viraptor:tchncs.deviraptor Not sure what you mean by existing libraries in this context.
But it looks like the translation to .pif is relatively trivial. Just waiting for all-the-things to rebuild due to xcbuild changing 😒 I'll submit something this weekend.
22:36:35
@reckenrode:matrix.orgRandy EckenrodeI mean like use one of the existing Python pr Ruby libraries to parse the project and dump it out in the correct JSON format. It avoids needing to mess with xcbuild and go through lots of rebuilds.22:50:09
@reckenrode:matrix.orgRandy EckenrodeOtherwise, if you do need to modify xcbuild, I would suggest creating a temporary xcbuild2 package that you can modify without doing lots of rebuilds.22:50:52
@reckenrode:matrix.orgRandy Eckenrode * 22:51:00
@reckenrode:matrix.orgRandy Eckenrode * 22:51:37
@reckenrode:matrix.orgRandy Eckenrode * 22:51:44

Show newer messages


Back to Room ListRoom Version: 6