dustinlyons / nixos-config

General purpose Nix configuration for macOS / NixOS with starter templates + step-by-step guides ✨
BSD 3-Clause "New" or "Revised" License
1.79k stars 113 forks source link

Homebrew can't find installed packages #16

Closed dustinlyons closed 1 year ago

dustinlyons commented 1 year ago

This prevents some of the auto-updating features to not work correctly. It was previously working before migrating my install over to using the nix-homebrew flake.

To re-install zoom, run:
  brew reinstall --cask zoom
Installing appcleaner
Installing appcleaner cask. It is not currently installed.
Warning: Cask 'appcleaner' is already installed.

To re-install appcleaner, run:
  brew reinstall --cask appcleaner
Installing syncthing
Installing syncthing cask. It is not currently installed.
Warning: Cask 'syncthing' is already installed.

To re-install syncthing, run:
  brew reinstall --cask syncthing
Installing steam
Installing steam cask. It is not currently installed.
Warning: Cask 'steam' is already installed.

To re-install steam, run:
  brew reinstall --cask steam
Installing vlc
Installing vlc cask. It is not currently installed.
Warning: Cask 'vlc' is already installed.

To re-install vlc, run:
  brew reinstall --cask vlc
Installing raycast
Installing raycast cask. It is not currently installed.
Warning: Cask 'raycast' is already installed.

To re-install raycast, run:
  brew reinstall --cask raycast
Installing asana
Installing asana cask. It is not currently installed.
Warning: Cask 'asana' is already installed.

To re-install asana, run:
  brew reinstall --cask asana
Installing google-chrome
Installing google-chrome cask. It is not currently installed.
Warning: Cask 'google-chrome' is already installed.

To re-install google-chrome, run:
  brew reinstall --cask google-chrome
Installing diffusionbee
Installing diffusionbee cask. It is not currently installed.
Warning: Cask 'diffusionbee' is already installed.

To re-install diffusionbee, run:
  brew reinstall --cask diffusionbee
dustinlyons commented 1 year ago

Fixed by running

sudo mkdir -p /opt/homebrew/Library/Taps/homebrew/ && sudo /bin/chmod +a "$USER allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown" /opt/homebrew/Library/Taps/homebrew/