Closed
Description
Please use the following schema for your bug report:
General summary/comments (optional)
Stack fails on shell script ghc-install,sh because it uses set -euo pipefile and the script uses #!/bin/sh. Sh has been linked to dash for a long time in Ubuntu and pipefile is not supported in dash.
Steps to reproduce
Run stack build on any project.
Expected
Should run correctly without error.
Actual
Failure as follows:
$ stack build
/home/acb/.stack/hooks/ghc-install.sh: 6: set: Illegal option -o pipefail
GHC install hook exited with code: 2
Stack version
stack --version
Version 2.9.1, Git revision 409d56031b4240221d656db09b2ba476fe6bb5b1 x86_64 hpack-0.35.0
Method of installation
- Via GHCup
Metadata
Metadata
Assignees
Labels
No labels