Open nomeata opened 9 years ago
Wouldn't we just look for a template-haskell dependency in the cabal file?
Unfortunately, No. There are packages that depend on template-haskell
to get access to the data type, without using any splices at build time.
Hi,
this is a tricky one: As not all architectures in Debian support Template Haskell, every TH-using package needs a build-dependency on the virtual package
ghc-ghci
.Now the correct way to detect the use of Template Haskell is looking for
{-# LANGUAGE TemplateHaskell #-}
in the sources. But I’m not sure if you want to go down that route...Anyways, I wanted to record this, without pushing for it.
Greetings, Joachim