Re: [Nix-dev] yesd doesn't build with most recent ghc (zlib not finding .so in ghci/template haskell)

2012-01-11 Thread Marc Weber
Excerpts from Corey O'Connor's message of Wed Jan 11 17:45:51 +0100 2012: Howdy, Here is the patch I'm using to work around this issue until GHC 7.4 is out: https://github.com/coreyoconnor/nixpkgs/commit/e7ce5a8e2b9acd757ffbbdf4684a4a7e7bd99be7 In either case either I'd add comments to either

Re: [Nix-dev] yesd doesn't build with most recent ghc (zlib not finding .so in ghci/template haskell)

2012-01-11 Thread Andres Loeh
Here is the patch I'm using to work around this issue until GHC 7.4 is out: https://github.com/coreyoconnor/nixpkgs/commit/e7ce5a8e2b9acd757ffbbdf4684a4a7e7bd99be7 GHC 7.4 is nearly out (RC1 is already in nixpkgs as ghcHEAD). I have found little reason to use ghc-7.2 in general. But if

Re: [Nix-dev] yesd doesn't build with most recent ghc (zlib not finding .so in ghci/template haskell)

2012-01-10 Thread Andres Loeh
Hi Marc. This is a bug in ghc-7.2.* (http://hackage.haskell.org/trac/ghc/ticket/5709). It's fixed in ghc-7.4.*. I don't think any version of ghc-7.2.* will ever become the default version in a platform and/or nixpkgs. Therefore, I'm not very motivated to patch ghc. Cheers, Andres

[Nix-dev] yesd doesn't build with most recent ghc (zlib not finding .so in ghci/template haskell)

2012-01-09 Thread Marc Weber
-A haskellPackages_ghc721.yesod Loading package zlib-0.5.3.1 ... command line: can't load .so/.DLL for: libz.so (libz.so: cannot open shared object file: No such file or directory) builder for `/nix/store/hkmnfwsgpv4qd5nbhjpazmw4gxq9dy6v-haskell-yesod-core-ghc7.2.1-0.9.3.6-profiling.drv'