[Haskell-beginners] coming to grips with hackage

Heinrich Apfelmus apfelmus at quantentunnel.de
Wed Feb 5 09:37:57 UTC 2014


Brandon Allbery wrote:
> On Tue, Feb 4, 2014 at 10:29 PM, <tam at hiddenrock.com> wrote:
> 
>> I'm having trouble wrapping my head around how to work with Hackage in the
>> context of a Linux distribution that already has its own package management
>> situation.  Between distribution-provided packages containing Haskell
>> programs
>> and/or libraries, system-wide cabal installs, user-specific cabal installs,
>> and cabal sandboxes, I can't seem to work out how the hackage/cabal
>> architects
>> intend people (ie, me) to juggle things.
>>
> 
> This is not a Hackage-specific issue; you will run into it with any
> language ecosystem, and every language ecosystem has its own mechanisms for
> dealing with it (usually involving some form of sandboxing). Indeed, some
> languages pretty much require those mechanisms: all too often, you need a
> separate rvm sandbox for multiple Ruby applications....

Pretty much this. Perhaps Nix can offer a more pleasant solution:

http://ocharles.org.uk/blog/posts/2014-02-04-how-i-develop-with-nixos.html


Best regards,
Heinrich Apfelmus

--
http://apfelmus.nfshost.com



More information about the Beginners mailing list