Make sure internal libraries are sent to cabal command line invocations.
Make sure internal libraries are sent to cabal command line invocations.

Otherwise, if Cabal doesn't detect that the internal library is needed
(it is not listed as a dependency), it will fail to build it and this
will cause a subsequent "copy"/"register" step to fail, crashing the
entire build.

juhp/stack,juhp/stack