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

cabal2nix output NoHackageTarballFound for all cabal://xxx #423

Closed
MarisaKirisame opened this issue Jun 25, 2019 · 2 comments
Closed

cabal2nix output NoHackageTarballFound for all cabal://xxx #423

MarisaKirisame opened this issue Jun 25, 2019 · 2 comments

Comments

@MarisaKirisame
Copy link

I tried running the following command on my nixos:

nix-shell -p "cabal2nix" --run "cabal2nix cabal://mtl"

I get this output:

cabal2nix: NoHackageTarballFound

what is happening here?

@peti
Copy link
Member

peti commented Jun 26, 2019

You should probably run cabal v2-update to make the Hackage tarball available in ~/.cabal.

@peti peti closed this as completed Jun 26, 2019
@cxandru
Copy link

cxandru commented Nov 11, 2019

I get following issue when I try to run cabal v2-update:

newParallelJobControl: not a sensible number of jobs: 0
CallStack (from HasCallStack):
  error, called at ./Distribution/Client/JobControl.hs:101:3 in main:Distribution.Client.JobControl

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

3 participants