!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
7 Nov 2025
@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
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaah some new development there... :(18:54:33
@niklaskorz:matrix.orgniklaskorzbut I can make a manual backport18:54:38

Show newer messages


Back to Room ListRoom Version: 6