Skip to content
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

Support --allow-newer in stack init #1661

Open
mgsloan opened this issue Jan 15, 2016 · 4 comments
Open

Support --allow-newer in stack init #1661

mgsloan opened this issue Jan 15, 2016 · 4 comments

Comments

@mgsloan
Copy link
Contributor

mgsloan commented Jan 15, 2016

Pretty self explanatory! Would also be good to suggest --allow-newer as something the user can try to possibly make things work.

Should set allow-newer: true in the resulting stack.yaml

@recursion-ninja
Copy link

Revisit the semantics of allow-newer be fore perpetuating it's use. See this prematurely closed issue.

@juhp
Copy link
Contributor

juhp commented Nov 10, 2020

I would like to have --allow-newer also for stack install particularly.

@mpilgrem mpilgrem changed the title Support --allow-newer in init / new / solver Support --allow-newer in stack init Feb 29, 2024
@mouse07410
Copy link

Somewhat related: how can I specify --allow-newer (or --allow-older) in Stack command line?

Trying to install summoner package, which I don't maintain a local source copy of, building with GHC-9.4.8 (Stack LTS-21.25), but cannot figure how to tell Stack to ignore the bounds - because with existing/defined bounds the installation fails.

I understand something like that can be configured in ~/.stack/global/stack.yaml, but I do not want to enable those globally, or for all/any package built. So, asking for CLI way to do it.

@mpilgrem
Copy link
Member

@mouse07410, the short answer is, currently, No. What you are suggesting is the subject of open issue/feature request (as stack install is an synonym for stack build --copy-bins):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants