Created attachment 464584 [details] '/var/log/portage/dev-haskell:skylighting-0.1.1.5:20170221-221629.log' dev-haskell/skylighting with USE=-executable seems to require dev-haskell/pretty-show. # emerge -1av dev-haskell/skylighting These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ~] dev-haskell/skylighting-0.1.1.5:0/0.1.1.5::gentoo USE="-doc -executable -hscolour -profile {-test}" 0 KiB ... Configuring skylighting-0.1.1.5... setup: At least the following dependencies are missing: pretty-show -any
I can confirm this. I can also confirm that installing the stable dev-haskell/pretty-show fixes the build. Furthermore, I've tested the resulting binary, and it works as expected. So this is just a matter of adding dev-haskell/pretty-show to the deps.
It's not exactly a matter of missing dependency, but a bug in Cabal that thinks dependency is needed for 'buildable: False' targets (USE=-executable). Some details are in https://github.com/haskell/cabal/issues/1725 The fix is to require fixed Cabal version: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f4525ef02d580515b9797aa012ab82dd4c4f0f Thanks for the report!