You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems like a more general problem. Passing -j also doesn't work. I guess the problem is that everything is passed to cabal fetch instead of cabal install.
Looking at the code the arguments are passed to cabal fetch as well as to cabal install. I think there needs to be some way to specify arguments that are passed to only one of them.
Sorry about that, I had it (mostly) right the first time. I've added a fix and pushed to Hackage, together with the following explanation in the README:
The output from cabal install --dry-run doesn't actually give us information on which packages need to be downloaded, only the packages to be installed. This will be different in the case of local packages. Unfortunately, cabal fetch won't work for us either, since it accepts different arguments see #2. The compromise we have now is to just continue working in the presence of errors during download, though a more robust solution would be to check if one of the arguments refers to a local package.
Activity
cocreature commentedon May 2, 2015
This seems like a more general problem. Passing
-jalso doesn't work. I guess the problem is that everything is passed to cabal fetch instead of cabal install.cocreature commentedon May 2, 2015
Looking at the code the arguments are passed to
cabal fetchas well as tocabal install. I think there needs to be some way to specify arguments that are passed to only one of them.Switch back to install --dry-run #2
snoyberg commentedon May 2, 2015
Sorry about that, I had it (mostly) right the first time. I've added a fix and pushed to Hackage, together with the following explanation in the README:
Can you confirm that it works now?
cocreature commentedon May 2, 2015
I confirm that it's working. (Looks like I can't close the issue as I didn't create it)
snoyberg commentedon May 2, 2015
Cool, thanks for checking so quickly!