Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
So I got the following error:
cabal: Missing dependency on a foreign library:
* Missing (or bad) header file: zlib.h
* Missing (or bad) C library: z
When running cabal new-build inside nix-shell. I already install zlib and zlib.dev but nothing fixed it.
How do we add zlib correctly?
try adding zlib.out, but I have one machine where I still have that problem with it
nope, still no luck.