Closed
Description
Agda-2.6.3
is only on nightly yet. If I command
$ stack install Agda-2.6.3
it fails with a missing dependency in lts-20.13
:
Writing implicit global project config file to: /home/runner/.stack/global-project/stack.yaml
Note: You can change the snapshot via the resolver field there.
Using latest snapshot resolver: lts-20.13
..
Error: [S-4804]
Stack failed to construct a build plan.
While constructing the build plan, Stack encountered the following errors:
In the dependencies for Agda-2.6.3:
vector-hashtables must match >=0.1 && <0.2, but the Stack configuration has no specified
version (latest matching version is 0.1.1.2)
needed since Agda is a build target.
This is odd:
stack
should not have pickedlts-20.13
because it does not even haveAgda-2.6.3
- it should have picked latest
nightly
instead which does haveAgda-2.6.3
and all its dependencies - if
stack
insists on not usingnightly
unless forced to, it should have reported thatAgda-2.6.3 is not in a LTS
rather than going with a plan that will not lead to the end goal (installingAgda-2.6.3
) and has no chance of succeeding
stack
's behavior is like when you place an order for a BMW Z4 and then you get the reply that the BMW X1 isn't in stock.
In the wild: https://github.com/andreasabel/ipl/actions/runs/4391563244/jobs/7690803077#step:6:468
Metadata
Metadata
Assignees
Labels
No labels