-- WARNING: iserv.cabal is automatically generated from iserv.cabal.in by -- ../../configure. Make sure you are editing iserv.cabal.in, not -- iserv.cabal. Name: iserv Version: @ProjectVersion@ Copyright: XXX License: BSD3 -- XXX License-File: LICENSE Author: XXX Maintainer: XXX Synopsis: iserv allows GHC to delegate Template Haskell computations Description: GHC can be provided with a path to the iserv binary with @-pgmi=/path/to/iserv-bin@, and will in combination with @-fexternal-interpreter@, compile Template Haskell though the @iserv-bin@ delegate. This is very similar to how ghcjs has been compiling Template Haskell, by spawning a separate delegate (so called runner on the javascript vm) and evaluating the splices there. . To use iserv with cross compilers, please see @libraries/libiserv@ and @utils/iserv-proxy@. Category: Development build-type: Simple cabal-version: >=1.10 Executable iserv Default-Language: Haskell2010 ghc-options: -no-hs-main Main-Is: Main.hs C-Sources: cbits/iservmain.c Hs-Source-Dirs: src include-dirs: . Build-Depends: array >= 0.5 && < 0.6, base >= 4 && < 5, binary >= 0.7 && < 0.11, bytestring >= 0.10 && < 0.11, containers >= 0.5 && < 0.7, deepseq >= 1.4 && < 1.5, ghci == @ProjectVersionMunged@, libiserv == @ProjectVersionMunged@ if os(windows) Cpp-Options: -DWINDOWS else Build-Depends: unix >= 2.7 && < 2.9