Open jan4843 opened 1 month ago
Actually, find -L
would not be sufficient.
There is another issue earlier where the Bash function homebrew-items
would return early because of a check for directory including $HOMEBREW_REPOSITORY
that gets expanded to /opt/homebrew/Library/.homebrew-is-managed-by-nix/Library/Taps
, which does not exist.
Running
brew formulae
orbrew casks
lead to no results:In a "normal" Homebrew installation (not from nix-homebrew), these commands list all installable formulae/casks.
The issue appears to be that taps in the library don't container the
.rb
files Homebrew searches for, but instead taps are symlinks to the Nix store that are not being followed.Relevant files:
Patching
items.sh
to follow symlinks could work (find -L
), but I'm not sure whether it's a good idea to accumulate patches for Homebrew. Might consider proposing getting this changed upstream, even though there would be no real use case there, I guess.