packages
in it?
stack.yaml
contain?
I want to staticly link a '.a' (from rust) into the binary but cant seem to get it to work. Are there any resources on this?
i have tried
extra-libraries:
- nameoflib
extra-lib-dirs:
- /locoflib/
but this only works with absolute paths, and i need a relative path as the other project is in the same repo and distributed along with it
extra-deps
in stack.yaml?
Exception while reading snapshot from lts-15.12:
HttpExceptionRequest Request {
host = "raw.githubusercontent.com"
port = 443
secure = True
requestHeaders = [("User-Agent","Haskell pantry package")]
path = "/commercialhaskell/stackage-snapshots/master/lts/15/12.yaml"
queryString = ""
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
}
(InternalException (HostCannotConnect "raw.githubusercontent.com" [Network.Socket.connect: <socket: 14>: does not exist (Connection refused),Network.Socket.connect: <socket: 14>: does not exist (Connection refused)]))
packages:
- github: haskell/haskell-language-server
# 0.4 release
commit: 0a18edde24923251a148cbbc0ae993a6aac83b9c
sha256: e965019bc48ef75e43992b209055e55b245faaaede04c02fb4825f124ebc3dd1
subdirs:
- .
- ./ghcide/
- ./hls-plugin-api
Cannot use both Docker and Nix at the same time
. Wha'ts wrong with using docker from within a nix-shell ?
Kind of a follow up but I get
$ stack build --no-nix --docker
Resolver not supported for Docker images:
no resolver specified
Use an LTS resolver, or set the 'image' explicitly, in your configuration file.
with this package.yaml (taken from https://notquiteamonad.com/blog/2021-02-15-writing-aws-lambdas-in-haskell)
# package.yaml
resolver: lts-16.31
executables:
getSecret:
main: Main.hs
source-dirs: src/
dependencies:
- hal # This project's library
- amazonka # This project's library
# --snip--
ghc-options:
- -threaded
- -rtsopts
- -O2
- -static
- -with-rtsopts=-N
- -Wall
cc-options: -static
# ld-options: -static -pthread
What strikes me is that I see 0 results on google