batch unregistering with ghc-pkg-8.0.2 "syntax error" #4951
Please follow the steps below for reporting a bug:
Make sure that you are using the latest release (currently stack-2.1.1).
Please use the following schema for your bug report:
General summary/comments (optional)
From a few things I've tried with
Also it says in the comment that ghc 8.0.1 supports batch unregistering, which might not be correct (at least with ghc-8.0.2), see the error message below in the ticket. I've tried running
Steps to reproduce
We need to force stack to unregister more than one package.
Expect no errors printed
What actually happened.
Method of installation
The text was updated successfully, but these errors were encountered:
@lehins actually you just need to trigger rebuild for at least 2 packages. And it looks like our understanding of supported GHC version wasn't correct - with GHC 8.2.2 I don't get any problems:
Will check in GHC itself about proper versions.
@qrilka Note also that in the above command duplicate
Oh, yes, you're completely right.