!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1136 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
24 Oct 2025
@samasaur:matrix.orgsamasauri think you may have05:23:09
@samasaur:matrix.orgsamasaur patching this function down to just set(${out_var} "-framework ${framework_name}" PARENT_SCOPE) makes everything build 05:23:51
@samasaur:matrix.orgsamasaurand i'm not sure how to test that all the frameworks work but prismlauncher opens at least05:24:11
@samasaur:matrix.orgsamasaurbut i think this is fine? because all the frameworks should be there from the SDK anyway, right?05:27:37
@samasaur:matrix.orgsamasaurand if they're missing it will still fail at build time, right? just not at configure time05:28:07
@samasaur:matrix.orgsamasaurwill revisit tomorrow05:35:03
@esperlily:matrix.orgEsperLily [she/her] hmm, xcrun from a nix-shell on current master is printing a warning that isn't happening with nixpkgs from a few days ago (warning: unhandled Platform key FamilyDisplayName) 08:08:47
@esperlily:matrix.orgEsperLily [she/her]i can't be 100% positive since i'd have to actually rebuild the whole darwin SDK to be sure, but I think this was caused by https://github.com/NixOS/nixpkgs/pull/44509408:23:07
@esperlily:matrix.orgEsperLily [she/her] looking at my Xcode developer dir, I also see that FamilyDisplayName is found within ./Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/SDKSettings.plist (as the key PlatformFamilyDisplayName) and it's not there in the nixpkgs SDK version, so I'm wondering if maybe that's the difference? 08:30:53
@esperlily:matrix.orgEsperLily [she/her] hmm, i just copied the nixpkgs SDK and edited that file to insert PlatformFamilyDisplayName and it didn't fix it. But editing Platforms/MacOSX.platform/Info.plist to remove FamilyDisplayName does remove the warning 08:34:59
@emilazy:matrix.orgemilyok then maybe look at my CMake patches10:23:57
@emilazy:matrix.orgemilyI don't feel good about doing that to Qt without understanding why10:24:04
@emilazy:matrix.orgemilymy guess is it might actually be an upstream CMake change10:24:20
@emilazy:matrix.orgemilybut if not then it's plausible it's the stuff I did to get rid of the mangling hook for the 4 update10:24:35
@reckenrode:matrix.orgRandy EckenrodeIt was. I added it in preparation for supporting Swift Build. If I got the name wrong, I can fix it. I was going by the keys it references in its source. If people are that annoyed by the warnings in xcbuild, they can be patched out.10:40:09
@emilazy:matrix.orgemily I take it Swift Build has no xcrun or xcode-select, right? 10:51:30
@ihar.hrachyshka:matrix.orgIhar Hrachyshka now that target sdk is 14.4, should we make blas == Accelerate? 10:51:59
@emilazy:matrix.orgemilywe should keep a list of "if you feel like writing a compatible FOSS replacement for this Apple tool we will love you forever"10:52:12
@emilazy:matrix.orgemilyPlistBuddy, xcrun, ibtool, ...10:52:28
@emilazy:matrix.orgemilyditto...10:52:31
@emilazy:matrix.orgemilythe dearly missed paparodeo ran into crashes with some packages using Accelerate and had to give them OpenBLAS explicitly. I'm not sure why10:52:58
@emilazy:matrix.orgemilyI'd probably want us to investigate those before doing the switch10:53:10
@reckenrode:matrix.orgRandy Eckenrode It’s just the engine used by Xcode. It provides a binary, but the CLI is incompatible. Longer term, we could use Swift Build to provide a compatible(-enough) xcode-build. 11:03:29
@reckenrode:matrix.orgRandy Eckenrode Same for xcrun. Just write a good enough replacement in Swift. 11:04:02
@reckenrode:matrix.orgRandy EckenrodeIt’s not fully compatible. There are some differences numerically. I ran into test failures trying to use it with something and didn’t bother after that.11:04:53
@ihar.hrachyshka:matrix.orgIhar Hrachyshkanumpy (in staging) is now Accelerate since it was picked up automatically by the build system. scipy is not (I have a patch for this). when you say "test failures", do you mean nix build invoked or something else? (basically, q is: are we ok to switch a package - or packages - if they build / pass test suites)11:06:04
@reckenrode:matrix.orgRandy EckenrodeIt was the package’s test suite. I can’t remember whether it was numpy or scipy, but it was a Python package.11:07:21
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaack. scipy and numpy pass. maybe it's something else.11:08:36
@reckenrode:matrix.orgRandy EckenrodeThey could have also fixed support.11:08:56
@reckenrode:matrix.orgRandy EckenrodeIf the tests pass, switching seems reasonable, especially if we are now at the supported platform level.11:09:44

Show newer messages


Back to Room ListRoom Version: 6