[Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-21 Thread Cody Goodman
I'm using haskellngPackages now on nixos unstable and it doesn't seem to have all versions of all dependencies... I thought that was part of the problem it was solving? Maybe that makes me sound greedy, but would it be possible and/or plausible to do this? If not what are the issues being faced?

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-22 Thread Peter Simons
Hi Cody, > haskellngPackages doesn't seem to have all versions of all dependencies... I'm not sure what you mean by "all versions of all dependencies". Dependencies of what exactly? The way I understand the term, "dependency" has meaning only as a relationship between two packages, i.e. "transfo

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-24 Thread Mateusz Kowalczyk
On 02/22/2015 12:04 PM, Peter Simons wrote: > Hi Cody, > > > haskellngPackages doesn't seem to have all versions of all dependencies... > > I'm not sure what you mean by "all versions of all dependencies". Dependencies > of what exactly? The way I understand the term, "dependency" has meaning on

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-24 Thread Nikita Karetnikov
> A related question: is there a way to generate a package list containing > exactly the versions of dependencies we require? I asked a similar question but about the cabal.config file some time ago. Here's the response: http://article.gmane.org/gmane.linux.distributions.nixos/15885 I haven't t

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-24 Thread Anthony Cowley
This almost certainly isn't ready for release, but I'd like to avoid duplicating efforts if other people want to work on it... Here is cabbage https://github.com/acowley/cabbage It is a tool for doing the obvious thing: use the cabal solver to find a build plan, then build the specific version of

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-24 Thread Mateusz Kowalczyk
On 02/25/2015 03:01 AM, Anthony Cowley wrote: > This almost certainly isn't ready for release, but I'd like to avoid > duplicating efforts if other people want to work on it... > > Here is cabbage https://github.com/acowley/cabbage > > It is a tool for doing the obvious thing: use the cabal solve

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-25 Thread Cody Goodman
Using cabbage you only need to do 'cabbage; nix shell'. iirc, the sandboxes were transparent. On Feb 24, 2015 11:57 PM, "Mateusz Kowalczyk" wrote: > On 02/25/2015 03:01 AM, Anthony Cowley wrote: > > This almost certainly isn't ready for release, but I'd like to avoid > > duplicating efforts if ot

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-25 Thread Peter Simons
Hi Mateusz, > A related question: is there a way to generate a package list containing > exactly the versions of dependencies we require? > > Say we have a package with cabal file > > A == 1.0 > B > 2.0 > C < 0.5 > > but the latest Hackage has versions lower and higher &c and that's what

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-25 Thread Daniel Bergey
On 2015-02-24 at 23:24, Nikita Karetnikov wrote: >> A related question: is there a way to generate a package list containing >> exactly the versions of dependencies we require? > > I asked a similar question but about the cabal.config file some time > ago. Here's the response: > > http://article.

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-25 Thread Anthony Cowley
This almost certainly isn't ready for release, but I'd like to avoid duplicating efforts if other people want to work on it... Here is cabbage https://github.com/acowley/cabbage It is a tool for doing the obvious thing: use the cabal solver to find a build plan, then build the specific version of

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-25 Thread Anthony Cowley
> On Feb 25, 2015, at 3:12 AM, Cody Goodman > wrote: > > Using cabbage you only need to do 'cabbage; nix shell'. iirc, the sandboxes > were transparent. > This is correct. Linking into the local sandbox is a separate, optional step. I wanted this as it let me continue using my old pre-nix