-
Hi folks, |
Beta Was this translation helpful? Give feedback.
Answered by
nukopia
Jan 3, 2024
Replies: 1 comment 2 replies
-
Ah, nevermind. Figured it out from reading
# From `brew info libpq` ...
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/libpq/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libpq/include"
# Build it ...
ghcup set ghc 9.2.8
ghcup set cabal latest
cabal v2-update && cabal v2-build
PGRST_BIN=$(cabal exec which postgrest|tail -1)
cp $PGRST_BIN ~/Scripts # on my machine
~/Scripts/postgrest -e |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
nukopia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, nevermind. Figured it out from reading
.github/scripts/arm/build.sh
, FWIW:libpq
and usedbrew info libpq
to recall PATH and compiler flags