!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
7 Nov 2025
@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
@samasaur:matrix.orgsamasaur looks like sys/fileport.h is in the 15.5 and 26.0 SDKs 18:49:48
@niklaskorz:matrix.orgniklaskorzhm is there a reason we didn't backport 15.5?18:50:03
@reckenrode:matrix.orgRandy Eckenrode15.2 to 15.5 was a big jump. Apple bumped libc++ major versions.18:51:13
@reckenrode:matrix.orgRandy EckenrodeIIRC.18:51:16
@ihar.hrachyshka:matrix.orgIhar Hrachyshkahaven't I seen the same fileport.h error in the log posted for the latest breakage? do we just miss a backport for the above, somehow? (same missing header(18:51:16
@ihar.hrachyshka:matrix.orgIhar Hrachyshka* haven't I seen the same fileport.h error in the log posted for the latest breakage? do we just miss a backport for the above, somehow? (same missing header)18:51:19
@samasaur:matrix.orgsamasauryeah i am coming to that same conclusion18:51:31
@reckenrode:matrix.orgRandy EckenrodeI also tend to be fairly conservative about backports.18:51:42
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI won't be able to look at it till evening so if someone can backport the missing piece (which looks like what happened?) would be great.18:52:11
@reckenrode:matrix.orgRandy EckenrodeDoes the backport tag work? That’s where I would start.18:52:43
@ihar.hrachyshka:matrix.orgIhar Hrachyshkait was backported though https://github.com/NixOS/nixpkgs/pull/43796418:53:29
@samasaur:matrix.orgsamasauroh uh18:53:36
@samasaur:matrix.orgsamasaurnvm18:53:37
@samasaur:matrix.orgsamasaur
In file included from Unified_mm_widget_cocoa1.mm:2:
/nix/var/nix/builds/nix-10098-3737624337/firefox-145.0/widget/cocoa/nsCocoaWindow.mm:7651:15: error: use of undeclared identifier 'NSGlassEffectView'
 7651 |             [[NSGlassEffectView alloc] initWithFrame:self.contentView.frame];
      |               ^
18:53:47
@samasaur:matrix.orgsamasaurhttps://github.com/NixOS/nixpkgs/pull/459417#issuecomment-350393765518:53:51
@samasaur:matrix.orgsamasaurlooks like it actually does need 2618:53:56
@reckenrode:matrix.orgRandy EckenrodeFor the 26.0 SDK.18:53:57
@samasaur:matrix.orgsamasaur assumign NSGlassEffectView is new 18:54:03
@samasaur:matrix.orgsamasaurwhich it appears to be18:54:27
@niklaskorz:matrix.orgniklaskorzauto backport won't work I think, doesn't apply cleanly because of the missing 15.5 backport18:54:28

Show newer messages


Back to Room ListRoom Version: 6