Kitty fails to work with Fish when installed under nix-darwin

Hi,

So, I am using nix-darwin in combination with home-manager. I’m installing and configuring kitty using this module. I am able launch kitty in the command-line (e.g. in terminal simply invoking kitty) but when I attempt to launch the application using Raycast (using the symlink in ~/Applications/Home Manager Apps) kitty fails to launch with a

Failed to launch child: fish
With error: No such file or directory
Press Enter or Esc to exit

I’m not quite sure what to do here to resolve this. I see that there is a option in home-manager to set darwinLaunchOptions but I haven’t a clue in what I would include.

So far, I’ve stumbled across this which mentions the general issue of someone encountering a Failed to launch child and it seems that there is a mention of passing --directory to kitty.

Perhaps fish is not in the PATH for Raycast. How is fish expected to be in the PATH?

1 Like