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 for manually specified revisions #127

Closed
infinisil opened this issue Sep 2, 2018 · 1 comment
Closed

Support for manually specified revisions #127

infinisil opened this issue Sep 2, 2018 · 1 comment

Comments

@infinisil
Copy link

Stack support specifying revisions of packages like this:

- cabal-helper-0.8.1.0@rev:0

Apparently stack2nix can't handle this yet. I stumbled upon this when trying to upgrade haskell-ide-engine to the latest version for hie-nix, see haskell/haskell-ide-engine#789

My workaround for now is to manually edit the definition of the affected package in the generated nix file:

6077,6078c6077,6078
<            revision = "1";
<            editedCabalFile = "10by3n3nl6lx14asm6p8yc7bqwb4qlszf6m545jvv8scyf4nrj2g";
---
>            revision = "0";
>            editedCabalFile = "1mf041pzdhrksfbw4vianrlhm674z3p09mpbvq4kqrr9hymp3kxd";
@domenkozar
Copy link
Contributor

See #126

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