darcs

Issue 2641 Missing 'autogen-modules' in darcs.cabal

Title Missing 'autogen-modules' in darcs.cabal
Priority Status unknown
Milestone Resolved in
Superseder Nosy List athas
Assigned To
Topics

Created on 2020-04-16.10:17:47 by athas, last changed 2020-04-16.20:57:45 by bf.

Messages
msg21978 (view) Author: athas Date: 2020-04-16.10:17:44
Darcs is generationg a 'Version.hs' module during build.  With 'cabal
v2-install', such modules must be listed under 'autogen-modules' in
darcs.cabal, or cabal will fail with an error.  I suggest adding the
folloing line after the 'other-modules' list for the library in
darcs.cabal:

    autogen-modules:  Version

-- 
\  Troels
/\ Henriksen
msg21980 (view) Author: bf Date: 2020-04-16.20:57:42
> Darcs is generationg a 'Version.hs' module during build.  With 'cabal
> v2-install', such modules must be listed under 'autogen-modules' in
> darcs.cabal, or cabal will fail with an error.  I suggest adding the
> folloing line after the 'other-modules' list for the library in
> darcs.cabal:

Which darcs version is this? There has been considerable flux regarding
the cabal file and also the custom Setup.hs lately.
History
Date User Action Args
2020-04-16 10:17:47athascreate
2020-04-16 20:57:45bfsetmessages: + msg21980