Compiling non-registered packages into a sandbox?

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

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
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
participants (2)
-
David Banas
-
Erik Hesselink