Missing Icons on macOS Tahoe 26
After updating to macOS Tahoe 26, the app icons in Home Manager Trampolines directory are missing, and the app icons in Spotlight are also missing.
I have run darwin-rebuild, but this did not solve the problem.
> nix-info
system: "aarch64-darwin", multi-user?: yes, version: nix-env (Nix) 2.28.5, channels(root): "nixpkgs", nixpkgs: /nix/store/a8dg9cc4ffj1dg2s963crqmxfn3pgwyd-source
oh dear 🥲 I was holding off on updating. I'll try in a VM
I have the same issue, but specifically with firefox. I configure firefox using home-manager's firefox module. The final package is exposed in I believe config.programs.firefox.finalPackage but I don't think mac-app-util functions properly set the proper trampoline for this. The final package provides an .app launcher in the nix store.
@bbaserdem mac-app-util creates trampolines at activation time, not nix eval time. The entire module system has been evaluated at that point and all derivations realized. It just looks in your ~/Applications/Home Manager Apps/* and mirrors it 1:1.
Thank you, right after I posted this the problem fixed itself.
I am also facing this issue. I think it might be this race condition described here: https://github.com/hraban/mac-app-util/blob/8414fa1e2cb775b17793104a9095aabeeada63ef/main.lisp#L163-L169
It seems the workaround doesn't work anymore with Tahoe. The icons sometimes show up when I manually move the icns somewhere else and copy it back.
Thank you @littledivy I installed tahoe in a VM and will work on it now. Thanks for diving in, I'll start with a temp dir copy approach 👍
repro'd successfully. Looking into a fix.