Closed jezen closed 7 years ago
Keep in mind that for best reproducibility, by default stack --nix
uses pure shells. These shells grant access to exactly what you say should be accessible inside the shell, using either a packages:
stanza or a shell.nix
file. Existing system libraries are hidden, to a large extent. In this case, one of your dependencies is complaining that it wants to find a C compiler. Either add a relevant nix package to satisfy that or run with --no-nix-pure
if you don't want to bother with strong reproducibility.
Try with
nix:
enable: true
packages: [postgresql]
Going to go ahead and close this as an old support ticket.
Trying to build a new blank
yesod-postgres
project on a fresh Ubuntu install, but it fails.Steps to reproduce
Added to stack.yaml
Stack version
System Version
Build Output (truncated. Tmux only gave me so much scrollback.)