!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1146 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
25 Nov 2025
@reckenrode:matrix.orgRandy Eckenrode It had to be ported to the clang-tools wrapper, which would have gone to master if not for the large number of Linux rebuilds it caused. 11:34:43
@megmug:matrix.orgmegmugAha - could this possibly affect non-module projects as well then? Because I am still getting errors despite removing all the modules. clang-scan-deps fails to find some stuff (on macos).11:37:28
@reckenrode:matrix.orgRandy Eckenrode If it uses clang-scan-deps, it will be broken. 11:39:02
@reckenrode:matrix.orgRandy Eckenrode Also clangd. 11:39:10
@reckenrode:matrix.orgRandy Eckenrode You may be able to work around it by setting env.NIX_CFLAGS_COMPILE to -isystem ${stdenv.cc.libcxx}. 11:42:42
@reckenrode:matrix.orgRandy Eckenrode * You may be able to work around it by setting env.NIX_CFLAGS_COMPILE to -isystem ${stdenv.cc.libcxx}/include/c++/v1. 11:43:01
@reckenrode:matrix.orgRandy Eckenrode(Path from memory, so may be off.)11:43:14
@megmug:matrix.orgmegmugHm, or just build the nix-shell on a different version maybe? Is the change already on master branch? Or can i go back far enough to get a version that didn't have the problem?11:44:38
@reckenrode:matrix.orgRandy EckenrodeIt’s on staging. It won’t make it to master until mid-December probably.11:47:04
@reckenrode:matrix.orgRandy EckenrodeIf you use staging, you’ll have to do a stdenv bootstrap and build everything from source.11:47:43
@megmug:matrix.orgmegmugDo I understand correctly that the breaking change was merged on oct 9? Could it be circumvented by going back further than that?11:52:20
@megmug:matrix.orgmegmugOn the other hand, building everything from source might not be that bad as long as it's automatic11:53:09
@reckenrode:matrix.orgRandy EckenrodeThat should also work.11:56:55
@reckenrode:matrix.orgRandy EckenrodeIt is. It just takes a while.11:57:18
@megmug:matrix.orgmegmug After waiting for hours to let the machine build the staging commit, i had to discover that my issue persisted. After getting a message from a teammate that the project didn't build for him on an ubuntu Windows-WSL VM, i got suspicious. I thought i had double-checked with nix-shell --pure that it would build on other machines. And i was even using ubuntu for the test. It turns out we were missing a dependency. After adding pkgs.clang-tools into the nix-shell packages, the issue was resolved for the teammate and also on the Mac! I learned that it can be really difficult to make things work across different OSes and architectures. Without Nix it would without a doubt be a lot more difficult, though. 22:41:44
@megmug:matrix.orgmegmug BTW, K900 , everything seems to work now including modules. Maybe our use case is simple enough for the existing system to handle it, but at least some amount of module support (using clang) is apparantly there now. 22:48:33
26 Nov 2025
@masrlinu:matrix.orgMartin joined the room.19:19:47
@sarahec:matrix.orgSarah ClarkAre there any plans to land the pyarrow fixes for Darwin any time soon? Pretty much any python package in the AI space depends on it and the Hydra failure numbers for Darwin are alarming.21:55:38
@reckenrode:matrix.orgRandy EckenrodeThe PRs referenced in https://github.com/NixOS/nixpkgs/issues/461396 are marked draft or closed. If they’re targeting staging, they probably won’t land until early/mid-December. I think the plan is to do one last staging-25.05 cycle before doing another staging cycle.22:03:59
@sarahec:matrix.orgSarah Clark I hope so. I can't even run nixpkgs-review on Darwin for most of my PRs due to this not building. 22:26:17
@niklaskorz:matrix.orgniklaskorzthe correct PR is https://github.com/NixOS/nixpkgs/pull/42661122:45:15
@niklaskorz:matrix.orgniklaskorz(if I understand correctly)22:45:20
27 Nov 2025
@mio:chat.mio19.ukmio

Does anyone know how to fix errors like this?

❯ nix run .#jellyfin-media-player 
path '/Users/user/Documents/nurpkgs/pkgs/jellyfin-media-player' does not contain a 'flake.nix', searching up
warning: Git tree '/Users/user/Documents/nurpkgs' is dirty
dyld[86342]: Symbol not found: _libiconv
  Referenced from: <07957CEF-EEB5-36BA-82E1-F4E59E3214F5> /nix/store/0xi380xw339k8cz2bdl4c0pqghm3zda7-jellyfin-media-player-1.12.0-unstable-2025-11-25/Applications/Jellyfin Media Player.app/Contents/Frameworks/libidn2.0.dylib
  Expected in:     <0761956A-9436-33A8-A866-3B69FA204723> /nix/store/0xi380xw339k8cz2bdl4c0pqghm3zda7-jellyfin-media-player-1.12.0-unstable-2025-11-25/Applications/Jellyfin Media Player.app/Contents/Frameworks/libiconv.2.dylib
zsh: abort      nix run .#jellyfin-media-player

https://github.com/NixOS/nixpkgs/pull/465340#issuecomment-3583946614

02:25:46
@reckenrode:matrix.orgRandy EckenrodeWhy is it copying all of the dylibs into the Frameworks folder?03:01:12
@reckenrode:matrix.orgRandy Eckenrode * Why is it copying all of the dylibs into the Frameworks folder? 03:01:20
@reckenrode:matrix.orgRandy Eckenrode Oh, it’s qtmacdeploy. Is there a way to make it stop doing that? 03:08:41
@reckenrode:matrix.orgRandy Eckenrode * Oh, it’s macdeployqt . Is there a way to make it stop doing that? 03:09:13
@reckenrode:matrix.orgRandy Eckenrode

mio, this patch appears to work for me. It doesn’t solve the mpvqt issue. The nixpkgs one builds, but kdeFrameworks doesn’t include Darwin in its supported platforms.

https://gist.github.com/reckenrode/0f70490429733aacb0091a05deb1653b

03:23:07
@reckenrode:matrix.orgRandy EckenrodeI’m able to run it, but I can’t connect to my server because its certificates expired. For some reason, Let’s Encrypt won’t renew. I was in the process of upgrading my servers to 25.05 when I got sidetracked fixing a libcurl regression ….03:24:23
@mio:chat.mio19.ukmio

I applied your patch to pic/jellyfin-qt6

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
DisplayManager : unable to retrieve current video mode
Slot for host command missing, or has incorrect signature!
[49587:259:1127/153935.932187:ERROR:service_utils.cc(339)] Skia Graphite backend = "" not found - falling back to Ganesh!
[49587:259:1127/153935.936711:ERROR:service_utils.cc(339)] Skia Graphite backend = "" not found - falling back to Ganesh!
libc++abi: terminating due to uncaught exception of type FatalException: std::exception
Received signal 6
 [0x00011d6444b0]
 [0x00011d62f9f0]
 [0x00011d6443c8]
 [0x0001992216a4]
 [0x0001991e7848]
 [0x0001990f09e4]
 [0x00019919d384]
 [0x00019918bcd8]
 [0x000198e10de4]
 [0x00019919c698]
 [0x00019919fc30]
 [0x00019919fbd8]
 [0x00010098afb0]
 [0x000104d98508]
 [0x0001033f97a8]
 [0x0001033f9cc0]
 [0x0001009876b0]
 [0x000198e46b98]
[end of stack trace]
zsh: abort      nix run .#jellyfin-media-player --impure
04:40:00

There are no newer messages yet.


Back to Room ListRoom Version: 6