--
You received this message because you are subscribed to the Google Groups "haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stac...@googlegroups.com.
To post to this group, send email to haskel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/87poxdxz47.fsf%40sobel.cipherstone.com.
For more options, visit https://groups.google.com/d/optout.
I think it makes sense to accommodate this type of use case. The first step would be to add support for consolidating all packages’ .stack-works into a single one for the project. Way in the past, this was actually how Stack always did it, so adding that back shouldn’t be too difficult. I’d actually prefer that it were the standard behaviour. Once that’s done, we can make --work-dir accept absolute paths and relative paths containing ...
However, there's a wrinkle: there’s a Cabal issue that causes problems if the dist directory is not within the package’s directory on Windows. We haven’t put a lot of effort into finding a workaround, so it may be possible to find a way around this or fix it upstream. If not, we’d have to fall back to the current behaviour on Windows and would not be able to support to support a .work-dir outside the project/package on that platform. But I think some effort should be put into determining and fixing the root cause, if possible.
Can you document this in a Github issue so we don’t lose track of it? And would you be interested in working on a pull request to implement it?
--
You received this message because you are subscribed to the Google Groups "haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stac...@googlegroups.com.
To post to this group, send email to haskel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/CACGj5vJe7c4_X6VT7rQF1gZ4Jj7R2yB0mwajTihFKzJ%3DB%3DF04A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
This e-mail message and any enclosures are intended only for the person(s) to whom it is addressed and may contain information which is confidential and/or legally protected. Any use, distribution, modification, copying or disclosure by any person(s) other than the named addressee is strictly prohibited. Capital Match disclaims all responsibility from and accept no liability whatsoever for the consequences of any unauthorized person acting, or refraining from acting, on any information contained in this message. If you have received this email in error, please inform us immediately and delete it and all copies from your system.
E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive later or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version from the sender. Capital Match makes no representation or warranty as to the absence of viruses in this e-mail or any attachments.
--
You received this message because you are subscribed to the Google Groups "haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stack+unsubscribe@googlegroups.com.
To post to this group, send email to haskel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/874mdk41vm.fsf%40therning.org.