[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    [Nix-dev] How to handle shared library dependencies of template haskell code?
From:       ksnix () andres-loeh ! de (Andres Loeh)
Date:       2011-12-30 10:36:00
Message-ID: CALjd_v4ySbbgL5PvTLDcPQMSqs0h8TobdToPT_sTXZARTAUw3Q () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic