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

stack2nix: user error (No such package ghci-8.6.3 in the cabal database. Did you run cabal update?) #161

Open
commandodev opened this issue Mar 14, 2019 · 2 comments

Comments

@commandodev
Copy link

I've installed stack2nix by running nix-build in the checkout and then I'm trying to run it with

⇒  ../../haskell/stack2nix/result/bin/stack2nix .                                                    ~/dev/adjoint/uplink_dev

Ensuring git version is >= 2 ...
Ensuring cabal version is >= 2 ...

+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.3 cabal://ALUT-2.4.0.2
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.3 cabal://ANum-0.2.0.2
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.3 cabal://Clipboard-2.3.2.0
....
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.3 cabal://zip-1.2.0
stack2nix: user error (No such package ghci-8.6.3 in the cabal database. Did you run cabal update?)
@commandodev
Copy link
Author

OK seems that this version of ghci-8.6.3 isn't on hackage yet: https://www.stackage.org/lts-13.7/package/ghci-8.6.3

@commandodev
Copy link
Author

In fact the packages of ghci available on hackage are all over the place: https://hackage.haskell.org/package/ghci

8.0.1, 8.0.2, 8.2.1, 8.2.2, 8.4.1, 8.4.2, 8.4.3, 8.6.1

8.4.3 isn't available in nixpkgs, and 8.4.4 isn't on hackage.

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

1 participant