-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stack install Agda-2.6.3
picks lts
(latest) which lacks Agda-2.6.3
#6068
Comments
@andreasabel, I think Stack is behaving as you would expect.
In terms of a snapshot, as it looks like there is no project-level YAML configuration file named The If you want to build |
Or, to view it another way, when you command |
@mpilgrem: Thanks for you swift reply! My motivation is that I would like to use
This is the conventional syntax, known from Usually hackage publications do not have a I follow your explanation of how
Currently, I can work around this by
but this is not a forward-compatible installation instruction: A future-proof instruction would be, I suppose,
however, this isn't very pretty. |
Currently, you would do this (EDIT: a more comprehensive version):
|
I have extended the examples at https://docs.haskellstack.org/en/stable/build_command/#examples. At the moment, if you command |
In practice, how useful is this |
It is usually the Package description files (eg Cabal files or I think the point of departure between what you are suggesting and what Stack does is that |
Ok, this seems to be the motivation for the To me, it still seems that there is room for improvement of Moved the issue to the wishlist. |
Agda-2.6.3
is only on nightly yet. If I commandit fails with a missing dependency in
lts-20.13
:This is odd:
stack
should not have pickedlts-20.13
because it does not even haveAgda-2.6.3
nightly
instead which does haveAgda-2.6.3
and all its dependenciesstack
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 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
The text was updated successfully, but these errors were encountered: