#Unable to build: missing -lpq

7 messages · Page 1 of 1 (latest)

rapid creek
#

I've got a rust app that uses postgres, my nixpacks.toml has the following

[phases.build]
nixPkgs = ['libpqxx']

And I get the following error

cannot find -lpq: No such file or directory

Can anyone assist with this? I got around it previously by simply writing my own Dockerfile, but I wanted to see if I could use the nixpacks toml instead

sinful flaxBOT
#

Project ID: d7c966b3-07dd-4a31-9cb9-82de5002e54f

rapid creek
rapid creek
#

I'll try that

#

Nah, same error 😦