My system is unable to locate haskell packages that are internal to ghc. EG: xhtml, terminfo While I can install new version of these packages to a user package database via cabal I cannot expose them as part of a haskell environment using ghcWithPackages. For convenience with C library dependencies I'd like to avoid cabal install to a user package database.
How can these internal packages be exposed in the haskell environment's package database? Or how can the shared library conflict below be resolved? The config I am using is here: https://github.com/coreyoconnor/nix_configs/blob/master/haskell-dev.nix Which is GHC 7.8.2 with ghcWithPackages. The packages that are not included with GHC are correctly exposed in the system's haskell environment. ghc-pkg lists them and Cabal can use them for builds. If I try to include a library that is shipped with GHC the haskell environment builder fails to add both shared libraries to the resulting environment. collision between `/nix/store/sx2fysd8hfhvjj3grmx24z0igb8rswyw-ghc-7.8.2/lib/ghc-7.8.2/terminfo-0.4.0.0/ libHSterminfo-0.4.0.0-ghc7.8.2.so' and `/nix/store/9xxnnzj85vdrklzf9q14jllhj01232xk-haskell-terminfo-ghc7.8.2-0.4.0.0-profiling-shared/lib/ghc-7.8.2/terminfo-0.4.0.0/ libHSterminfo-0.4.0.0-ghc7.8.2.so' at /nix/store/ 9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 72. -Corey O'Connor [email protected] http://corebotllc.com/
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
