!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

You have reached the beginning of time (for this room).


SenderMessageTime
4 Nov 2025
@yamabukiiro:matrix.orgyamabukiiro joined the room.06:18:42
5 Nov 2025
@isolaryn:matrix.orgIsolaryn joined the room.02:23:42
@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 means I'm using rosetta? I do see test suites running

20:54:12
@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.orgcolemickensIs 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.orgcolemickensI 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

Show newer messages


Back to Room ListRoom Version: 6