!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1154 Members
โ€œThere are still many issues with the Darwin platform but most of it is quite usable.โ€ โ€” http://yves.gnu-darwin.org187 Servers

Load older messages


SenderMessageTime
5 Nov 2025
@alexfmpe:matrix.orgalexfmpe *
$ echo "stdenv.buildPlatform.config" | nix repl --file . --argstr system "x86_64-darwin" 
"x86_64-apple-darwin"

I don't have remote builders so I guess the fact I can build stuff this way on my aarch64-darwin means I'm using rosetta? I do see test suites running

20:54:25
@k900:0upti.meK900Yes20:55:40
@reckenrode:matrix.orgRandy EckenrodeThere is Darwin to Darwin cross support, but it comes with caveats.20:59:12
@colemickens:matrix.orgcolemickens ๐Ÿณ๏ธโ€๐ŸŒˆ joined the room.22:57:26
@colemickens:matrix.orgcolemickens ๐Ÿณ๏ธโ€๐ŸŒˆIs it possible to use HM to configure Ghostty on macOS even though it's not installable via nix/hm?22:58:03
@samasaur:matrix.orgsamasaurYes22:59:57
@samasaur:matrix.orgsamasaur set programs.ghostty.package to null 23:01:16
@isolaryn:matrix.orgIsolaryn
In reply to @colemickens:matrix.org
Is it possible to use HM to configure Ghostty on macOS even though it's not installable via nix/hm?
What do you mean not installable?
23:07:43
@colemickens:matrix.orgcolemickens ๐Ÿณ๏ธโ€๐ŸŒˆI don't think it's available for aarch64-darwin23:08:12
@samasaur:matrix.orgsamasaurghostty doesn't build on Darwin because it needs the real (unfree) xcodebuild and/or Swift 623:08:38
@samasaur:matrix.orgsamasaurI don't remember what the current blocker is off the top of my head23:09:05
@samasaur:matrix.orgsamasaur*doesnt build via Nix23:09:12
@isolaryn:matrix.orgIsolarynThere is a ghostty-bin package for this occasion in nixpkgs23:09:15
@isolaryn:matrix.orgIsolaryn Unless from source is something you require 23:09:38
@samasaur:matrix.orgsamasauryeah. personally though when the option is a binary from nixpkgs or a binary direct from the project I just download direct from the project23:10:27
6 Nov 2025
@ihar.hrachyshka:matrix.orgIhar Hrachyshka

we have the llvm patch that broke firefox aarch64 bisected: https://github.com/llvm/llvm-project/pull/129889

bad news is it's - probably? - not scoped to darwin and it's - probably? - affecting other apps. And it's - definitely - hard to say which are affected without running them.

wonder if it justifies a global CFLAGS edit to disable the optimization.

emily fyi

00:02:03
@ihar.hrachyshka:matrix.orgIhar Hrachyshka *

we have the llvm patch that broke firefox aarch64 bisected: https://github.com/llvm/llvm-project/pull/129889

bad news is it's - probably? - not scoped to darwin and it's - probably? - affecting other apps. And it's - definitely - hard to say which are affected without running them.

wonder if it justifies a global C(PP)FLAGS edit to disable the optimization.

emily fyi

00:04:31
@esperlily:matrix.orgEsperLily [she/her] emily: is there anything left to do on https://github.com/NixOS/nixpkgs/pull/455760? you approved it some time ago (and then I updated the PR since then) but I can't merge it myself 01:06:09
@remilapeyre:matrix.org@remilapeyre:matrix.org left the room.10:03:27
@clemens:steinanet.atClemens Schlipfinger joined the room.17:04:44
7 Nov 2025
@jopejoe1:matrix.orgjopejoe1 joined the room.10:17:24
@jopejoe1:matrix.orgjopejoe1

Looks like firefox 145 wants apple-sdk_26 which is not available on 25.05 could some one with more Darwin knowledge than me take a look at that?

https://github.com/NixOS/nixpkgs/pull/459417

10:33:30
@jopejoe1:matrix.orgjopejoe1 cc @ihar.hrachyshka:matrix.org as you did most of the firefox darwin stuff 10:40:11
@titus:titusio.nettitus๐Ÿผ joined the room.11:48:55
@titus:titusio.nettitus๐Ÿผ left the room.11:54:53
@purrtner:matrix.orgpurrtner If someone has a spare minute and any clue about macOS Keychain in nix build environment, Iโ€˜d love to hear from you at https://github.com/NixOS/nixpkgs/issues/459492 .
Iโ€˜m not really sure, how to proceed. If someone could put me in a direction, I can perhaps fix the issue myself.
16:22:29
@reckenrode:matrix.orgRandy EckenrodeProbably just disable the test.16:27:56
@purrtner:matrix.orgpurrtnerI kind of guessed something like that ๐Ÿ™ƒ. Iโ€˜ll flesh something out on the weekend then, I guess. Thanks for your educated opinion16:39:39
@reckenrode:matrix.orgRandy EckenrodeUnfortunately, disabling impure tests is usually the best we can do.17:06:28
@purrtner:matrix.orgpurrtner If there is a chance: Do you have experience when doing that with Go Modules? I created a patch and integrated it into the build as one does with every derivation. I could not find a "more elegant" or "less invasive" solution from my not very educated view.
If you have no clue, I'll just submit the PR and we'll see, what reviewing maintainers think about it ๐Ÿ˜ธ
17:53:19

Show newer messages


Back to Room ListRoom Version: 6