[Nix-dev] How to handle shared library dependencies of template haskell code?
Andres Loeh
ksnix at andres-loeh.de
Fri Dec 30 11:36:00 CET 2011
Hi Corey.
> I ran into an issue with the template haskell code of Yesod: The ghc
> template haskell system requires the shared libraries of dependencies
> to be available at *build* time. Not just run time. For yesod I hacked
> around the issue with the following patch:
[...]
Are you using ghc-7.2 for this work? There's a bug in ghc-7.2 that
wasn't present in ghc-7.0 and is fixed in ghc-7.4. As a consequence,
packages with external C library dependencies don't work properly when
used via Nix.
Cheers,
Andres
More information about the nix-dev
mailing list