NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.06k stars 14.11k forks source link

haskellPackages.llvm-hs doesn't pick up llvm-hs-pure dependency #26226

Open spacekitteh opened 7 years ago

spacekitteh commented 7 years ago

Issue description

Configuring llvm-hs-4.1.0.0...
Setup: Encountered missing dependencies:
llvm-hs-pure ==4.1.0.0
builder for ‘/nix/store/wsx1h3prp03hgf32knbyq4wkhxnw86mb-llvm-hs-4.1.0.0.drv’ failed with exit code 1

Steps to reproduce

Try to make a haskell environment with llvm-hs.

Technical details

spacekitteh commented 7 years ago

Does the cabal2nix tool support cabal projects, yet?

ccing @peti

peti commented 7 years ago

If you look at the generated expression for llvm-hs in pkgs/development/haskell-modules/hackage-packages.nix, you'll find that it does include llvm-hs-pure as a dependency. I suppose the build fails because we use version 4.0.0.0 of that package by default, not 4.1.0.0. It appears that llvm-hs-pure is a part of LTS Haskell, but llvm-hs is not, otherwise this mismatch would not occur.

Ekleog commented 6 years ago

(triage) Reading from https://github.com/llvm-hs/llvm-hs/issues/116#issuecomment-318258390, I would think this likely no longer is an issue… @spacekitteh, can you confirm or infirm this statement?

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.