mac-app-util icon indicating copy to clipboard operation
mac-app-util copied to clipboard

Missing Icons on macOS Tahoe 26

Open AkinoKaede opened this issue 3 months ago • 7 comments

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.

Image Image
> nix-info
system: "aarch64-darwin", multi-user?: yes, version: nix-env (Nix) 2.28.5, channels(root): "nixpkgs", nixpkgs: /nix/store/a8dg9cc4ffj1dg2s963crqmxfn3pgwyd-source

AkinoKaede avatar Sep 16 '25 16:09 AkinoKaede

oh dear 🥲 I was holding off on updating. I'll try in a VM

hraban avatar Sep 18 '25 07:09 hraban

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 avatar Sep 19 '25 16:09 bbaserdem

@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.

hraban avatar Sep 20 '25 05:09 hraban

Thank you, right after I posted this the problem fixed itself.

bbaserdem avatar Sep 20 '25 15:09 bbaserdem

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.

littledivy avatar Sep 21 '25 09:09 littledivy

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 👍

hraban avatar Sep 21 '25 18:09 hraban

repro'd successfully. Looking into a fix.

hraban avatar Sep 28 '25 21:09 hraban