It appears that curl
, but not curllib
, is installed by default on Windows10+. Therefore it is necessary to:
- Download and extract
curl
binaries for windows(https://curl.se/windows/) - Compile with
stack install --extra-include-dirs=PATH-TO-EXTRACTED-CURL-DIR\include\ --extra-lib-dirs=PATH-TO-EXTRACTED-CURL-DIR\lib