!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
4 Jun 2026
@lcenchew:matrix.orglcenchew For example, I like to have app pkgs be placed at /Volumes/ssd/nix/Applications/Nix Apps/
Is this configurable?
06:37:49
@tim92:matrix.orgtim joined the room.07:23:08
@samasaur:matrix.orgsamasaur
In reply to @lcenchew:matrix.org
For example, I like to have app pkgs be placed at /Volumes/ssd/nix/Applications/Nix Apps/
Is this configurable?
There isn't a built-in option for this, though you could of course replace the activation script with a custom one that uses that location
16:46:35
@logn:zirco.dev@logn:zirco.dev left the room.21:34:49
7 Jun 2026
@samasaur:matrix.orgsamasaurrelease branch has been cut; apologies for the delay. lmk if you run into any issues06:13:30
@niklaskorz:matrix.orgniklaskorz For zed-editor we've run into the linker error "ld: b(l) ARM64 branch out of range (-157637180 max is +/-128MB)" during an update (https://github.com/NixOS/nixpkgs/pull/527683) and a suggested working fix is -C code-model=large, but I found LLVM discussions mentioning that code-model large is unmaintained or incomplete for aarch64-darwin. Does anyone know if code-model large is fine to use as a workaround here or if there is a better approach? 08:49:09
@reckenrode:matrix.orgRandy EckenrodeWhat does upstream do?11:57:15
@reckenrode:matrix.orgRandy EckenrodeCan we use ld64? It should be at the latest version now.11:58:08
@reckenrode:matrix.orgRandy Eckenrode I’m also surprised that code-model=large worked. Darwin is always PIE. Absolute address instructions are supposed to be rejected by the linker. 12:01:29
@richarddodd:matrix.orgricharddodd joined the room.14:16:38
@niklaskorz:matrix.orgniklaskorzHm I can't actually see any custom darwin linker settings upstream...15:55:26
8 Jun 2026
@niklaskorz:matrix.orgniklaskorzWe're not overriding the linker, upstream isn't either, so my assumption is we are already linking with ld64 and upstream might be linking with Apple's proprietary linker (ld-prime) although I have no insight in what macOS and Xcode version their Github actions runner is using.09:26:25
@niklaskorz:matrix.orgniklaskorzThey have a custom runner from namespace.so and it's only referenced as "namespace-profile-mac-large"09:27:29
@niklaskorz:matrix.orgniklaskorzbut I now see their own in-repo nix derivation explicitly sets lld as linker on darwin because of the same error 🙃09:29:17
@niklaskorz:matrix.orgniklaskorzhttps://github.com/zed-industries/zed/blob/88e5c6d2faad2a556deb3250357df6f720b7fb3c/nix/build.nix#L253-L25709:29:24
@reckenrode:matrix.orgRandy EckenrodeIf upstream is using LLD, that seems the way to go. We're matching how they build on Darwin, and we’re not doing something LLVM says is not supported very well.10:32:07
@niklaskorz:matrix.orgniklaskorzUnderstood, thank you!11:04:57
@reckenrode:matrix.orgRandy EckenrodeBoo. Apple almost announced macOS 27 would have no name. I wish that were true.17:06:00
@samasaur:matrix.orgsamasaur ooh they've "rebuilt search" including how spotlight works 17:14:53
@samasaur:matrix.orgsamasauryaaay, we get to check whether symlinked apps in /Applications work, again...17:15:17
@reckenrode:matrix.orgRandy EckenrodeThe new search UI is okay-ish, but half the time it doesn’t have what I want even though I know it’s there. I hope they’ve really fixed that.17:15:19
@reckenrode:matrix.orgRandy EckenrodeAre they mixing updates between all the platforms together? The Liquid Glass updates for macOS looked like a step in the right direction, but I want to see more of that not iOS stuff.17:16:29
@reckenrode:matrix.orgRandy EckenrodeI especially don’t care about visionOS.17:16:38
@samasaur:matrix.orgsamasaurSeems like they might be mixing everything together because they don't have a bunch of platform-specific new features to show17:21:22
@reckenrode:matrix.orgRandy EckenrodeI don’t mind if they go over every single window in macOS showing how it no longer looks as crappy.17:22:04
@reckenrode:matrix.orgRandy EckenrodeI also wouldn’t mind a surprise feature like surprise jails/zones/containers. Snow Leopard got GCD in spite of being a “performance” release.17:25:58
@reckenrode:matrix.orgRandy Eckenrode(I’m aware that’s some serious wishful thinking.)17:26:47
@niklaskorz:matrix.orgniklaskorz Fingers crossed for the platforms state of the union then 17:32:51
@reckenrode:matrix.orgRandy EckenrodeApple Intelligence will use Spotlight. Is that new?17:33:49
@reckenrode:matrix.orgRandy EckenrodeThey also talked about a new scheduler, which is pretty wild for the keynote. Definitely want to watch the platform SotU.17:34:24

Show newer messages


Back to Room ListRoom Version: 6