feat(mac): explicitly add & link libpq

This is needed for using psql without installing postgres.
This commit is contained in:
Saibotk 2025-01-02 09:08:08 +01:00
parent 311fdd11f6
commit 55706b6c30
Signed by: saibotk
GPG key ID: 67585F0065E261D5
3 changed files with 8 additions and 0 deletions

View file

@ -28,6 +28,9 @@ brew bundle --file ${DOTFILES}/macos/Brewfile
# gnupg is not really needed but marked as a dependency for pass # gnupg is not really needed but marked as a dependency for pass
brew unlink gnupg brew unlink gnupg
# Link libpq to access psql
brew link --force libpq
flutter --disable-analytics flutter --disable-analytics
# Properly symlink openjdk java # Properly symlink openjdk java

View file

@ -26,6 +26,7 @@ brew 'poppler' # PDF manipulation (needed for some projects)
brew 'qpdf' # PDF manipulation (needed for some projects) brew 'qpdf' # PDF manipulation (needed for some projects)
brew 'rename' brew 'rename'
brew 'gh' # GitHub CLI brew 'gh' # GitHub CLI
brew 'libpq' # For psql to use laravel squash migrations etc
# Infrastructure tools # Infrastructure tools
brew 'awscli' brew 'awscli'

View file

@ -5,6 +5,10 @@ brew update
brew upgrade brew upgrade
# Fixes gnupg link conflicts with GPGSuite # Fixes gnupg link conflicts with GPGSuite
brew unlink gnupg brew unlink gnupg
# Link libpq to access psql
brew link --force libpq
# Fix corepack / node update issues # Fix corepack / node update issues
corepack disable corepack disable
corepack enable corepack enable