!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
5 Nov 2025
@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 (4094@39c3) joined the room.10:17:24
@jopejoe1:matrix.orgjopejoe1 (4094@39c3)

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 (4094@39c3) 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
@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 😸
Edit: sorry, wanted to quickly get into the weekend 😅
18:11:38
@hexa:lossy.networkhexacan we get apple-sdk_26 on 25.05 or not?18:15:43
@hexa:lossy.networkhexa Randy Eckenrode, emily 18:15:51
@samasaur:matrix.orgsamasaurI think it should be fine to do that18:44:54
@niklaskorz:matrix.orgniklaskorz built samasaur's PR rebased on release-25.05, seems to work fine 18:45:08
@samasaur:matrix.orgsamasaur yeah apple-sdk_26 is entirely additive, and the whole SDK version/deployment target dance only depends on macOS version in the first place 18:47:00
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI haven't looked closely into ff issue yet; I was wondering if they actually use some API that is not present in xnu sources or we can repeat a trick that we did before and pull from there.18:47:12
@ihar.hrachyshka:matrix.orgIhar Hrachyshkabut if we can just pull 26 into 25.05 it's probably a cleaner path of course.18:47:39
@samasaur:matrix.orgsamasaur yeah i remember we had a previous firefox workaround that grabbed something from the 15.0 sources before apple-sdk_15 was added to nixpkgs 18:48:13
@samasaur:matrix.orgsamasaur
  +
    # fileport.h was exposed in SDK 15.4 but we have only 15.2 in nixpkgs so far.
    lib.optionalString
      (
        stdenv.hostPlatform.isDarwin
        && lib.versionAtLeast version "143"
        && lib.versionOlder apple-sdk_15.version "15.4"
      )
      ''
        mkdir -p xnu/sys
        cp ${apple-sdk_15.sourceRelease "xnu"}/bsd/sys/fileport.h xnu/sys
        export CXXFLAGS="-isystem $(pwd)/xnu"
      '';

18:49:00

Show newer messages


Back to Room ListRoom Version: 6