Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-31 Thread Peter Simons
Hi Michael, >> why don't you just add those tools into your user's profile? > > The short answer is that the examples I gave weren't the best, they > were just what sorted first in my list of Haskell development > tools---the ones I believe must be instantiated in that environment > in order

Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-07 Thread Michael Alan Dorman
Hi, Peter, On Fri, Mar 6, 2015, at 07:42 AM, Peter Simons wrote: > why don't you just add those tools into your user's profile? That's a reasonable question, with two answers: The short answer is that the examples I gave weren't the best, they were just what sorted first in my list of Haskell de

Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-07 Thread Michael Alan Dorman
Many thanks, Daniel, that's exactly the sort of thing I was looking for. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-07 Thread Michael Alan Dorman
Yes, Rich, that's very helpful. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-06 Thread Richard Wallace
Everyone seems to have their own way of doing it. Recently I've been using a script to create the environment I like [1]. The only prereq is that a default.nix exists. Then it checks for a shell.nix, and if present, uses that. This gives me the ability to override existing packages. Otherwise it

Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-06 Thread Peter Simons
Hi Michael, > I would like to be able to maintain both a default.nix (that > represents the library dependencies, etc.), and then have a shell.nix > that adds things to it in order to build a development > environment---specifically some build tools, hasktags, hlint, etc. why don't you just a

Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-06 Thread Daniel Bergey
On 2015-03-06 at 13:24, Michael Alan Dorman wrote: > In developing a haskell library, I would like to be able to maintain > both a default.nix (that represents the library dependencies, etc.), and > then have a shell.nix that adds things to it in order to build a > development environment---specif

[Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-06 Thread Michael Alan Dorman
In developing a haskell library, I would like to be able to maintain both a default.nix (that represents the library dependencies, etc.), and then have a shell.nix that adds things to it in order to build a development environment---specifically some build tools, hasktags, hlint, etc. http://www.c