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

Make stack path require ghc for less options #6484

Closed
deemp opened this issue Feb 13, 2024 · 6 comments
Closed

Make stack path require ghc for less options #6484

deemp opened this issue Feb 13, 2024 · 6 comments

Comments

@deemp
Copy link
Contributor

deemp commented Feb 13, 2024

In freckle/stack-action#33, we discussed how to prevent stack from downloading GHC before restoring stack dependencies in CI because they can already include a GHC.

More specifically, we need stack path --programs to not trigger a GHC download in GitHub Actions. Is it doable?

I see that a similar issue was resolved for stack path --stack-root (#6340).

What other options can be decouple from GHC downloads?

@deemp deemp changed the title make stack path require ghc in less cases Make stack path require ghc for less options Feb 13, 2024
@mpilgrem
Copy link
Member

@deemp, I think that should be possible, with a bit of re-jigging of the code.

@mpilgrem mpilgrem self-assigned this Feb 13, 2024
mpilgrem added a commit that referenced this issue Feb 15, 2024
Fix #6484 stack path avoids EnvConfig where possible
@mpilgrem
Copy link
Member

@deemp, this is now implemented in the master branch version of Stack.

@deemp
Copy link
Contributor Author

deemp commented Feb 16, 2024

@mpilgrem, thank you! Will you please make a release?

@mpilgrem
Copy link
Member

Stack 2.17.1 will likely come sooner than my usual quarterly rhythmn for releases. However, as 2.15.1 was only released a week ago it will be a few weeks yet.

@mpilgrem
Copy link
Member

mpilgrem commented Mar 7, 2024

@deemp, Stack 2.15.3 is released, with this behaviour change.

@deemp
Copy link
Contributor Author

deemp commented Mar 7, 2024

Thank you!

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

2 participants