Reinstalling a package + all its reverse dependencies

Mikhail Glushenkov the.dead.shall.rise at gmail.com
Sat Nov 17 14:10:26 CET 2012


On Fri, Nov 16, 2012 at 12:06 AM, Mikhail Glushenkov
<the.dead.shall.rise at gmail.com> wrote:
> To solve this, I propose adding an option
> '--only-dependencies-of=TARGET' that would work like
> '--only-dependencies', but only remove TARGET from the install plan
> (see adjustOnlyDependencies in D.C.Install). This would make it
> possible to implement sandbox-build in the following fashion:
>
> cabal install /path/to/add-source-dep-1 ... /path/to/add-source-dep-N
> --only-dependencies-of=. && cabal build

Initial implementation: https://github.com/haskell/cabal/pull/1118


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments



More information about the cabal-devel mailing list