-
Notifications
You must be signed in to change notification settings - Fork 842
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
Stack doesn't seem to handle projects with custom Setup.hs or submodules well? #1203
Comments
I did a little bit of investigation on this (I'm the author of
The problem is - The first build (and by the first I mean the first one after I don't know how to overcome this - |
I have a feeling this is an idiosyncrasy in the Cabal library. We call out to the |
Could you try out the latest master ( |
Yeah, give me a sec. |
Seems to work fine now. Thanks! |
Thanks for confirming, closing. This is a bug that should ideally be opened up with Cabal ( |
I am not for certain if this is a stack issue or a project issue thus I went ahead and filed the ticket on the project, but I'm linking it here as well: jakubfijalkowski/hlibsass#2
But basically the project has a custom Setup.hs and then it doesn't pack up the cbits directly into the repo, it submodules it. So I'm not sure if the fact that stack seems to be able to "build" the project the first time fine, but then henceforth fail to link to it the 2nd onward time is stack's problem or if its the build script problem.
I was able to workaround this issue by making the project a submodule of my main project and forcing the libsass submodule in the project to be also cloned, then henceforth all builds worked.
The text was updated successfully, but these errors were encountered: