Closed nponeccop closed 5 years ago
[4 of 5] Compiling Distribution.Simple.UUAGC.UUAGC ( src/Distribution/Simple/UUAGC/UUAGC.hs, .stack-work/dist/i386-linux/Cabal-2.2.0.1/build/Distribution/Simple/UUAGC/UUAGC.o ) /tmp/stack4729/uuagc-cabal-1.0.6.0/src/Distribution/Simple/UUAGC/UUAGC.hs:105:51: error: • Couldn't match type ‘PreProcessor’ with ‘ComponentLocalBuildInfo -> PreProcessor’ Expected type: [PPSuffixHandler] Actual type: [([Char], BuildInfo -> LocalBuildInfo -> PreProcessor)] • In the ‘hookedPreProcessors’ field of a record In the expression: simpleUserHooks {hookedPreProcessors = ("ag", ag) : ("lag", ag) : knownSuffixHandlers, buildHook = uuagcBuildHook uuagc, sDistHook = uuagcSDistHook uuagc} In an equation for ‘hooks’: hooks = simpleUserHooks {hookedPreProcessors = ("ag", ag) : ("lag", ag) : knownSuffixHandlers, buildHook = uuagcBuildHook uuagc, sDistHook = uuagcSDistHook uuagc}
It works now, thanks