Cabal sandbox and rebuild of added sources

Hi, I just tried the sandbox functionality of cabal with the current version on github (b89d894947a9ec6fde78ebc6e7f6978f0b117eb1). If the source added by 'cabal sandbox-add-source' changes, than it gets rebuild by calling 'cabal sandbox-build', but not if I'm just calling 'cabal sandbox-install'. Is there a reason for this behavior? Greetings, Daniel

Hi,
On Sun, Apr 7, 2013 at 10:05 PM, Daniel Trstenjak
If the source added by 'cabal sandbox-add-source' changes, than it gets rebuild by calling 'cabal sandbox-build', but not if I'm just calling 'cabal sandbox-install'.
Is there a reason for this behavior?
Good point. It makes sense to reinstall add-source dependencies if "." is one of the targets. Filed an issue: https://github.com/haskell/cabal/issues/1265 -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
participants (2)
-
Daniel Trstenjak
-
Mikhail Glushenkov