This is not specific to windows or cabal-dev.
When typechecking Fay passes -hide-package base
to GHC, otherwise it would conflict with fay-base
. Fay wouldn't be able to use the installed base either way, it needs the source files and base contains a lot of things that Fay doesn't support.
fay-base
doesn't define Data.Function
, the only reason is that the module hasn't been implemented (please send a PR if you add it!)
You don't need to compile with --package fay-base
by the way, it's implicit.