[Nix-dev] Nix-shel and Cabal

Arseniy Seroka ars.seroka at gmail.com
Tue Dec 2 00:36:16 CET 2014


Hi! Today I found a bug which I haven't seen before.
I have default.nix containing information about my haskell project.

% nix-shell #where default.nix is
nix-shell % cabal configure
nix-shell % cabal build
<command line>: cannot satisfy -package-id
hdaemonize-0.5.0.0-7d163e489b83246c9dc17a04ec7b1020:
    hdaemonize-0.5.0.0-7d163e489b83246c9dc17a04ec7b1020 is unusable due to
missing or recursive dependencies:
      extensible-exceptions-0.1.1.4-f7e26965a32dc4bc7fa1da5f205edb52
mtl-2.1.3.1-8bcc0591131896cfc8761a93703d4c61
    (use -v for more information)

Nevermind about pkgs names - it doesn't matter.

It doesn't depend on a project - I've tested with a project with one I had
already done there steps and it comes to me with the same error (previously
there were no error during these steps).

If I do
% nix-shell --pure
It runs successfully. (But I want to use my other programs (vim, ghc-mod)
in nix-shell, that's why I don't need --pure)

-- 
Sincerely,
Arseniy Seroka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141202/b8e4f61a/attachment.html 


More information about the nix-dev mailing list