Skip to content

Use postgresql in the build dependencies to get the pg_config output#23

Open
dnikolovv wants to merge 2 commits into
haskell-infra:masterfrom
dnikolovv:patch-1
Open

Use postgresql in the build dependencies to get the pg_config output#23
dnikolovv wants to merge 2 commits into
haskell-infra:masterfrom
dnikolovv:patch-1

Conversation

@dnikolovv
Copy link
Copy Markdown

@dnikolovv dnikolovv commented Jan 11, 2026

In order to fix building packages that require libpq.

In order to fix building packages that require libpq.
@dnikolovv
Copy link
Copy Markdown
Author

I tested this by:

> nix build .#run-hackage-build
> rg -o '/nix/store/[^ ]*postgresql[^ ]*/bin' result/bin/hackage-build | head -1 | xargs -I{} test -x {}/pg_config && echo "pg_config ok"
pg_config ok

@dnikolovv dnikolovv changed the title Add postgresql.pg_config to build dependencies Use postgresql in the build dependencies to get the pg_config output Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant