Skip to content

Installing Ghostty via nix-darwin (via nix-homebrew) issues: shell Integration is broken, ghostty cli does not work #4725

Closed Answered by taylrfnt
taylrfnt asked this question in Q&A
Discussion options

You must be logged in to vote

The TL;DR of this issue is that Nix, nix-darwin, and nix-homebrew integrations are not playing nicely with some of the MacOS system "traditions"/practices - for example, on MacOS every terminal instance is a login shell.

After doing some digging, I found #2832 , which started me on the right path. Comparing between the two Macs I have Ghostty running on, there's two major differences (and perhaps others that I will find and document later):

  1. $XDG_DATA_DIRS does not contain $GHOSTTY_RESOURCES_DIR on the machine I have installed Ghostty with nix-homebrew (found thanks to the discussion linked above).
  2. $GHOSTTY_BIN_DIR is appended to my $PATH in the Mac I installed via vanilla homebrew, but n…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@taylrfnt
Comment options

Answer selected by taylrfnt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant