<div dir="ltr"><div>Hi GHC Devs,</div><div><br></div>Refer <a href="https://github.com/NixOS/nixpkgs/issues/14333">https://github.com/NixOS/nixpkgs/issues/14333</a> for a problem I was having when building with nix. The interesting part is that if I add an extra flag -optl-lpthread manually, the error goes away and the build succeeds. My question is why the build system didn't add the -optl-lpthread flag when libpthread was a requirement for that particular build? <div><div><div><br></div>Thanks,<br><div class="gmail_signature">Rahul Muttineni</div>
</div></div></div>