-
Notifications
You must be signed in to change notification settings - Fork 71
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
Add raw-project stanza #228
Conversation
daed458
to
a031eb3
Compare
@RyanGlScott there is
as you can see in https://github.com/haskell-CI/haskell-ci/blob/master/.travis.yml#L101-L102 |
@RyanGlScott I can add |
According to https://cabal.readthedocs.io/en/latest/nix-local-build.html#cfg-field-coverage |
I'm not sure exactly what the intended semantics of
Moreover, I have to laboriously copy the contents of this file over to Not having this feature isn't a show-stopper by any means, since I could just as well copy over the contents of the |
First,
to
And then copying over isn't so big. Secondly, locally I would not do
but only set them on Travis. Locally, you get more sharing benefit from global store if you go with default manual flag values (and for sure you have |
I'm trying to think, what could go wrong if one just copies over |
The only downside that I can think of is that you might only want a subset of the options from a |
@RyanGlScott you can however turn off the flag after, with EDIT: also Travis has some headless-X11 stuff, so you might even succeed, if you try hard enough. |
Ah, I hadn't thought of that. Are you saying that it you had this in your
And this in your
Then the |
Yes, I'd append the |
OK! In that case, I really can't envision any downsides to this idea. I'm not sure whether we'd want to copy over the |
df17a39
to
3b7c8cc
Compare
@RyanGlScott I merged, this but please comment after you had chance to try out |
Sorry for the delay! I've finally had a chance to try this out, and it works beautifully. I was able to remove a large number of hacks I have to apply on top on |
@RyanGlScott can you test whether this works for you. I'll ping you again after ICFP deadline ;)