[Haskell-cafe] Compiling non-registered packages into a sandbox?

Erik Hesselink hesselink at gmail.com
Mon Aug 31 18:08:28 UTC 2015


Doesn't a simple 'cabal install dep_pkg/' when in 'proj_dir' work?

Additionally, you can do 'cabal sandbox add-source dep_pkg/', which
will make it available to be installed as a dependency automatically
(and reinstall when it's changed).

Erik

On 31 August 2015 at 17:20, David Banas <capn.freako at gmail.com> wrote:
> Hi all,
>
> How do I compile a non-Hackage registered package into a local sandbox?
>
> Let’s say I have:
>
> /proj_dir/
>   - .cabal-sandbox/
>   - cabal.sandbox.config
>   - dep_pkg/
>      - dep_pkg.cabal
>      - Setup.lhs
>      - …
>
> I’d like to compile the dep_pkg package into my proj_dir sandbox; can I do
> this, if dep_pkg is NOT registered with Hackage?
> If so, how?
>
> Thanks,
> -db
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list