Adds the client-only PostgreSQL client to the Nix Darwin config so psql is available on the normal shell PATH for read-only DB investigation.
Declares Homebrew libpq (keg-only client; no postgres server binary, no service) in homebrew.brews with link = true. Homebrew Bundle's link_change_state! runs brew link --force libpq for a keg-only, unlinked formula, so psql lands on /opt/homebrew/bin (already first on PATH via ~/.zprofile).
No server, daemon, database, default connection, service file, credential, or DATABASE_URL is configured or changed. Actual SQL access remains blocked on the separate tenant-bound read-only database grant.
nix build .#darwinConfigurations.lt-mbp.system succeeds for aarch64-darwin.
The pinned libpq bottle ships bin/psql (plus pg_dump/pg_restore) and contains no postgres/postmaster server binary and no launchd plist.
Validated through the no-mistakes pipeline: intent, rebase, review, test, document, lint, push all completed (pr/ci skipped - this forge is Gitea). Review left one info/no-op note: brew link --force also symlinks libpq's headers/libs into the shared prefix, an acknowledged tradeoff of putting psql on PATH.
Adds the client-only PostgreSQL client to the Nix Darwin config so `psql` is available on the normal shell PATH for read-only DB investigation.
- Declares Homebrew `libpq` (keg-only client; no `postgres` server binary, no service) in `homebrew.brews` with `link = true`. Homebrew Bundle's `link_change_state!` runs `brew link --force libpq` for a keg-only, unlinked formula, so `psql` lands on `/opt/homebrew/bin` (already first on PATH via `~/.zprofile`).
- No server, daemon, database, default connection, service file, credential, or `DATABASE_URL` is configured or changed. Actual SQL access remains blocked on the separate tenant-bound read-only database grant.
Validation (no system rebuild applied):
- `nix eval .#darwinConfigurations.lt-mbp.config.homebrew.brewfile` emits `brew "libpq", link: true, trusted: true`.
- `nix build .#darwinConfigurations.lt-mbp.system` succeeds for `aarch64-darwin`.
- The pinned `libpq` bottle ships `bin/psql` (plus `pg_dump`/`pg_restore`) and contains no `postgres`/`postmaster` server binary and no launchd plist.
Validated through the no-mistakes pipeline: intent, rebase, review, test, document, lint, push all completed (`pr`/`ci` skipped - this forge is Gitea). Review left one `info`/`no-op` note: `brew link --force` also symlinks libpq's headers/libs into the shared prefix, an acknowledged tradeoff of putting `psql` on PATH.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds the client-only PostgreSQL client to the Nix Darwin config so
psqlis available on the normal shell PATH for read-only DB investigation.libpq(keg-only client; nopostgresserver binary, no service) inhomebrew.brewswithlink = true. Homebrew Bundle'slink_change_state!runsbrew link --force libpqfor a keg-only, unlinked formula, sopsqllands on/opt/homebrew/bin(already first on PATH via~/.zprofile).DATABASE_URLis configured or changed. Actual SQL access remains blocked on the separate tenant-bound read-only database grant.Validation (no system rebuild applied):
nix eval .#darwinConfigurations.lt-mbp.config.homebrew.brewfileemitsbrew "libpq", link: true, trusted: true.nix build .#darwinConfigurations.lt-mbp.systemsucceeds foraarch64-darwin.libpqbottle shipsbin/psql(pluspg_dump/pg_restore) and contains nopostgres/postmasterserver binary and no launchd plist.Validated through the no-mistakes pipeline: intent, rebase, review, test, document, lint, push all completed (
pr/ciskipped - this forge is Gitea). Review left oneinfo/no-opnote:brew link --forcealso symlinks libpq's headers/libs into the shared prefix, an acknowledged tradeoff of puttingpsqlon PATH.