darcs

Issue 2596 cabal new-build fails if only library component is built

Title cabal new-build fails if only library component is built
Priority Status unknown
Milestone Resolved in
Superseder Nosy List bf
Assigned To
Topics

Created on 2018-07-18.19:27:36 by bf, last changed 2018-07-18.19:27:36 by bf.

Messages
msg20207 (view) Author: bf Date: 2018-07-18.19:27:35
The reason is that our custom Setup.hs unconditionally tries to install
the darcs man page. It should instead only do that if the darcs
executable is built.

This currently makes it unnecessarily hard for me to keep darcsden
up-to-date, because the simplest way to do that is to use a
cabal.project file (for darcsden) that points to an up-to-date clone of
darcs itself. But cabal new-build will only build the library component
of such a source dependency. My work-around is to comment out the line

  postBuild = \ _ _ _ lbi -> buildManpage lbi,

in Setup.hs.
History
Date User Action Args
2018-07-18 19:27:36bfcreate