minus1216
stackのLTS18.16で、muslを静的リンクしたaesonに依存するバイナリを作ろうとして躓いています。
再現手順:
1. https://qiita.com/lambda_funtaro/items/5ac47f83616f8c07d4db の通りに設定する(stack.yaml中のdockerのrepoはutdemir/ghc-musl:v22-ghc8107にする)
2. package.yamlのdependenciesにaesonを加える
3.
4. ビルドに失敗する↓
再現手順:
1. https://qiita.com/lambda_funtaro/items/5ac47f83616f8c07d4db の通りに設定する(stack.yaml中のdockerのrepoはutdemir/ghc-musl:v22-ghc8107にする)
2. package.yamlのdependenciesにaesonを加える
3.
stack build --dockerする4. ビルドに失敗する↓
Error: While constructing the build
plan, the following exceptions were
encountered:
In the dependencies
for hashable-1.3.0.0:
integer-gmp must
match >=0.4 && <1.1, but
the stack configuration
has no specified
version (latest
matching version
is 1.0.3.0)
needed due to test-0.1.0.0
-> hashable-1.3.0.0
In the dependencies
for integer-logarithms-1.0.3.1:
integer-gmp must match <1.1, but the
stack configuration has
no specified version
(latest matching version
is 1.0.3.0)
needed due to test-0.1.0.0
-> integer-logarithms-1.0.3.1
In the dependencies
for scientific-0.3.7.0:
integer-gmp needed, but the stack
configuration has no
specified version
(latest matching version
is 1.0.3.0)
needed due to test-0.1.0.0
-> scientific-0.3.7.0
Some different approaches to resolving
this:
* Recommended action: try adding the
following to your extra-deps
in (略)/stack.yaml:
- integer-gmp-1.0.3.0@sha256:514e81647473ce380cf1814821664c0dcedc2801ad8dbf41b19a10f916e1cc75,2138
Plan construction failed.