In-place registering hsbag-0.1.0.0...
setup-Simple-Cabal-1.22.1.1-x86_64-linux-ghc-7.8.3: '/usr/local/bin/ghc-pkg'
exited with an error:
hsbag-0.1.0.0: Warning: Unrecognized field data-dir on line 15
hsbag-0.1.0.0: Warning: Unrecognized field key on line 4
hsbag-0.1.0.0: Warning: haddock-interfaces:
/home/omer/opt/libcds_b629/haskell/dist/dist-sandbox-fa1c82ae/doc/html/hsbag/hsbag.haddock
doesn't exist or isn't a file
hsbag-0.1.0.0: Warning: haddock-html:
/home/omer/opt/libcds_b629/haskell/dist/dist-sandbox-fa1c82ae/doc/html/hsbag
doesn't exist or isn't a directory
I have no ideas why it's looking for documentation file. This is happening even if I use --disable-documentation.
These warnings are harmless, but for some reason it is exiting with an error. I'm assuming that you're running cabal install hsbag; can you show us the output of cabal install -v3?
I have a Cabal file that fails with:
I have no ideas why it's looking for documentation file. This is happening even if I use
--disable-documentation
.