Haskell Stack project setup fails at getProtocolByName #19526
Labels
0.kind: question
Requests for a specific question to be answered
6.topic: haskell
9.needs: reporter feedback
This issue needs the person who filed it to respond
Issue description
(ConnectionFailure getProtocolByName: does not exist (no such protocol name: tcp))
I have been trying to build a Stack project with a Nix shell but it fails with the above error. There are other issues (#18038, #15168) matching these symptoms, but they are using Docker. It looks like stack is unable to find
/etc/protocols
from within the shell, but I can't figure out why or how to fix it.I appreciate I may be doing something entirely wrong with these Nix files, and have mostly been guessing from what I've read about Stack/Nix integration.
Full output for
nix-build shell.nix
:Steps to reproduce
shell.nix
stack.nix
stack.yaml
Technical details
The text was updated successfully, but these errors were encountered: