etlas
etlas copied to clipboard
Etlas doesn't handle constraints on packages properly
While trying to build Elm-0.13
, etlas ignores the constraints on the direct dependencies like indents
. The bounds specified in the cabal file are indents >= 0.3 && < 0.4
but etlas is using indents-0.5.0.0
. This can be reproduced by checking the plan.json
file after building Elm-0.13
[_46] trying: uniplate-1.6.12 (dependency of language-ecmascript-0.19)
[_47] trying: ansi-wl-pprint-0.6.8.2 (dependency of language-ecmascript-0.19)
[_48] trying: ansi-wl-pprint-0.6.8.2:-example
[_49] trying: ansi-terminal-0.6.2.3 (dependency of ansi-wl-pprint-0.6.8.2)
[_50] trying: indents-0.5.0.0 (dependency of Elm-0.13)
[_51] trying: indents-0.5.0.0:!test
[_52] trying: highlighting-kate-0.6.4 (dependency of Elm-0.13)
[_53] trying: highlighting-kate-0.6.4:!test
The workaround for this is to add constraints: indents == 0.3.3
in the cabal.project
file.