-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support main-is
inside "common stanzas"
#6117
Comments
@chshersh common stanzas are designed to be "typed" and the current one we support is of type "build-info" which is the common denominator of all stanzas where you're allowed to include What you're asking is basically to implement the |
Me too. |
Hmm otoh i agree with hvr point of view (also accepted by the issue author). I think it is cleaner to have a |
I would encourage to not introduce separate I see choosing |
yeah, that sounds better |
My use case is that I have a lot of executables placed in different folders. Every executable contains a single Haskell source code file called
Main.is
. I would like to remove some boilerplate by puttingmain-is: Main.hs
intocommon
stanza (with other options). However, when I do this, I see the following build error message:It would be really nice if common stanzas could support
main-is
field as well.The text was updated successfully, but these errors were encountered: