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

How to use this project as a dependency using Stack? #164

Closed
listx opened this issue Apr 20, 2024 · 2 comments
Closed

How to use this project as a dependency using Stack? #164

listx opened this issue Apr 20, 2024 · 2 comments

Comments

@listx
Copy link

listx commented Apr 20, 2024

The README explains how to use this project with Nix + Cabal.

But how are you supposed to use it with Stack? Am I supposed to clone this repo as a submodule and then reference it locally, or something? I noticed in #155 that GHC 9.2.8 was supported but on Stack, and was wondering how to take advantage of that for my project. Thanks

@listx
Copy link
Author

listx commented Apr 20, 2024

I found https://stackoverflow.com/a/59233321/437583. Will reopen this issue if that doesn't work (doubtful). Cheers

@listx listx closed this as completed Apr 20, 2024
@ixmatus
Copy link
Contributor

ixmatus commented Apr 22, 2024

Rather than referencing local paths, I recommend referencing the git revision you want directly in the stack yaml:

packages:
- location:
    git: git@github.com:awakesecurity/gRPC-haskell.git
    commit: <commit_hash>

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

No branches or pull requests

2 participants