darcs

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

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

Created on 2020-04-16.10:17:47 by athas, last changed 2020-06-20.09:35:34 by bfrk.

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: bfrk 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.
msg22046 (view) Author: bfrk Date: 2020-06-20.09:35:32
The HEAD builds w/o any warnings
History
Date User Action Args
2020-04-16 10:17:47athascreate
2020-04-16 20:57:45bfrksetmessages: + msg21980
2020-06-20 09:35:34bfrksetstatus: unknown -> resolved
messages: + msg22046