!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
24 Oct 2025
@esperlily:matrix.orgEsperLily [she/her] if i symlink in the libxcrun.dylib then it prints a different error about how it can't find the Xcode installation, that's interesting. now I'm wondering what's in the version of the SDK installed by CommandLineTools (but i'm not willing to install that to find out) 20:27:45
@esperlily:matrix.orgEsperLily [she/her] FWIW in https://github.com/NixOS/nixpkgs/issues/376958 at least one person now gets that warning printed in their shell (which would suggest they now have their DEVELOPER_DIR set to the nixpkgs SDK for some reason), so it probably is worth patching it out. https://github.com/facebookarchive/xcbuild/blob/dbaee552d2f13640773eb1ad3c79c0d2aca7229c/Libraries/xcsdk/Sources/SDK/Platform.cpp#L176 looks like the spot where those keys are read, so it just needs an entry added for FamilyDisplayName 20:31:08
@emilazy:matrix.orgemilythe CLT SDKs are identical to the Xcode ones I'm pretty sure20:39:49
@emilazy:matrix.orgemily it's normal to have DEVELOPER_DIR set in a Nix development shell 20:40:22
@emilazy:matrix.orgemily(or no build tools would work)20:40:32
@esperlily:matrix.orgEsperLily [she/her]they didn't say "Nix development shell" they just said "in my shell"20:40:51
@esperlily:matrix.orgEsperLily [she/her]so i assume this is coming from commands being run in a custom prompt20:41:17
@esperlily:matrix.orgEsperLily [she/her]like starship testing tool versions or something20:41:25
@esperlily:matrix.orgEsperLily [she/her] * like starship testing tool versions or something (edit: actually /usr/bin/git would invoke this machinery too) 20:43:23
@emilazy:matrix.orgemily

I thought you meant the comment with

xsdc-translator on  dev [$] via  v20.18.1 via ❄️  impure (devenv-shell-env) 

but I'd still predict the other person is in a dev shell based on the lack of anything weird-looking in their dotfiles

20:47:14
@emilazy:matrix.orgemily you'd have to try quite hard to have something in the Nix store as your global DEVELOPER_DIR 20:47:46
@reckenrode:matrix.orgRandy EckenrodeI was adding all the keys I saw it reference in its source code. If this warning is actually a problem, we can fix it in xcbuild, but I don’t think it will help with the MacVim build.21:23:15
@esperlily:matrix.orgEsperLily [she/her]no it doesn't sounds like the cause of the MacVim build issue, i'm going to have to spend more time tracking that down21:23:54
@reckenrode:matrix.orgRandy EckenrodeAnd if users are complaining, it can also be patched.21:25:39
@reckenrode:matrix.orgRandy Eckenrode * 21:26:14
@ihar.hrachyshka:matrix.orgIhar Hrachyshkafirefox issue is... fun. arm build crashes, x86 (through rosetta) doesn't. some asm fun: https://github.com/NixOS/nixpkgs/issues/453372#issuecomment-344498183221:53:46
25 Oct 2025
@mio:chat.mio19.ukmio joined the room.02:16:32
@samasaur:matrix.orgsamasaurqt time again 🫠03:33:00
@samasaur:matrix.orgsamasaurAH HA03:42:48
@samasaur:matrix.orgsamasaurso there are a couple of frameworks that CMake can't find03:43:20
@samasaur:matrix.orgsamasaurAssetsLibrary, MobileCoreServices, UIKit, WatchKit, Network03:43:58
@samasaur:matrix.orgsamasaur the first four actually are missing 03:44:33
@samasaur:matrix.orgsamasaur Network.framework actually is in the SDK directory alongside all the other frameworks that it does find 03:45:01
@samasaur:matrix.orgsamasaur what gives? turns out it's not actually failing the NOTFOUND part of the check, it's failing the MATCHES ".framework$" part 03:45:55
@samasaur:matrix.orgsamasaur

because (unique among all the frameworks that it "can't find"), when calling find_library(FWNetworkInternal Network), it actually does find something:

/nix/store/9idkk50xhm91i33fzsgg520z5pa8i8dv-apple-sdk-15.5/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/lib/libnetwork.tbd
03:46:56
@samasaur:matrix.orgsamasaurhttps://github.com/qt/qtbase/commit/b181132f742a0d212f8ffaf6f8fb48a099ac45dd03:50:33
@samasaur:matrix.orgsamasaur ...except that we don't set QT_USE_VCPKG 03:56:00
@samasaur:matrix.orgsamasaurlike that is the actual issue, but I can't apply that patch directly03:56:26
@samasaur:matrix.orgsamasaurwell it appears to be building04:00:38
@samasaur:matrix.orgsamasaurissue might be coming from https://github.com/NixOS/nixpkgs/blob/01f116e4df6a15f4ccdffb1bcd41096869fb385c/pkgs/by-name/cm/cmake/setup-hook.sh#L42-L44 ? though it looks like it hasn't been touched for years, so I'm not sure why we'd suddenly be seeing this issue05:07:13

Show newer messages


Back to Room ListRoom Version: 6