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 picked lts-20.13 because it does not even have Agda-2.6.3
- it should have picked latest
nightly instead which does have Agda-2.6.3 and all its dependencies
- if
stack insists on not using nightly unless forced to, it should have reported that Agda-2.6.3 is not in a LTS rather than going with a plan that will not lead to the end goal (installing Agda-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
Agda-2.6.3is only on nightly yet. If I commandit fails with a missing dependency in
lts-20.13:This is odd:
stackshould not have pickedlts-20.13because it does not even haveAgda-2.6.3nightlyinstead which does haveAgda-2.6.3and all its dependenciesstackinsists on not usingnightlyunless forced to, it should have reported thatAgda-2.6.3 is not in a LTSrather than going with a plan that will not lead to the end goal (installingAgda-2.6.3) and has no chance of succeedingstack'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