[Nix-dev] The Future of Haskell Packaging in Nix

2015-10-14 Thread Peter Simons
Fellow Nixers and Haskellers, the Haskell NG effort [1] allowed us for the first time to distribute the latest version of every package known to Hackage -- well over 8,000 builds in total --, and this seemed like a crazy leap forward at the time. These days, we distribute 60+ Haskell package sets

[Nix-dev] [***SPAM***] Use Function Application To Escape Override Hell

2015-10-14 Thread Peter Simons
The Problem --- The architecture of the haskell.packages.* hierarchy worked fine when Nixpkgs shipped a handful of manually maintained package sets. The addition of LTS Haskell, however, increased the number of active package sets by a factor of 10, and that number will grow further since

Re: [Nix-dev] The Future of Haskell Packaging in Nix

2015-10-14 Thread William Casarin
Hey Peter, On Wed, Oct 14, 2015 at 7:39 AM, Peter Simons wrote: > Fellow Nixers and Haskellers, > > [..] and we > still don't have convincing answers to questions like: how do I compile my > package with profiling support? I thought we already have fairly straightforward support

[Nix-dev] How to configure neovim?

2015-10-14 Thread Matthias Beyer
Hi, the neovim derivation seems to be customizable like the vim_configurable expression - but how do I actually do that from my configuration.nix? I have (a bit stripped): let # [...] custom_vim= pkgs.vim_configurable.customize { name = "vim";

Re: [Nix-dev] Use Function Application To Escape Override Hell

2015-10-14 Thread Mathnerd314
On Wed, Oct 14, 2015 at 8:46 AM, Peter Simons wrote: > The Problem > --- > > override: "haskellPackages" provides the foundation that other package sets > override according to their needs. As of today, this approach requires > approximately 25,000 overrides. I count

Re: [Nix-dev] hydra build failures

2015-10-14 Thread Eelco Dolstra
Hi, On 13/10/15 19:07, Christian Theune wrote: > In revision 82504fe01084f432443c121614532d29c781082a I get this error: > http://dpaste.com/2M8RJHB > > In revision 1a92f971d4648d942090e5a25b0b1e34be779a0b I get this: > http://dpaste.com/0G760R4 You need to update Nixpkgs to get the latest

Re: [Nix-dev] How to configure neovim?

2015-10-14 Thread Arseniy Seroka
You need to create such function. Take a look at [1]. [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/vim-utils.nix#L281 2015-10-14 21:40 GMT+03:00 Matthias Beyer : > Hi, > > the neovim derivation seems to be customizable like the > vim_configurable

[Nix-dev] attribute 'replaceStrings' missing??

2015-10-14 Thread Christopher Rooney
I updated for the first time in a while (from generation 23 to 24). I got an error on most common uses of nix-env (-i, -e, -qa). I rolled back to 23 and everything worked, and here is s transcript of the update to generation 25. [~/tmp]$ nix-channel --update downloading Nix expressions from ‘

Re: [Nix-dev] attribute 'replaceStrings' missing??

2015-10-14 Thread Vladimír Čunát
Hi. On 10/14/2015 11:25 PM, Christopher Rooney wrote: > I updated for the first time in a while (from generation 23 to 24). I > got an error on most common uses of nix-env (-i, -e, -qa). I rolled back > to 23 and everything worked, and here is s transcript of the update to > generation 25. It's

Re: [Nix-dev] attribute 'replaceStrings' missing??

2015-10-14 Thread Arseniy Seroka
Maybe something was corrupted. Check nix-store with `sudo nix-store --verify --check-contents --repair`. 2015-10-15 0:25 GMT+03:00 Christopher Rooney : > I updated for the first time in a while (from generation 23 to 24). I got > an error on most common uses of

Re: [Nix-dev] hydra build failures

2015-10-14 Thread Christian Theune
> On 14 Oct 2015, at 12:57, Eelco Dolstra wrote: > > Hi, > > On 14/10/15 12:39, Christian Theune wrote: > >>> You need to update Nixpkgs to get the latest unstable Nix version, which >>> Hydra >>> requires. >> >> Ah, thanks. I didn’t think about *that* :) >> >>

Re: [Nix-dev] hydra build failures

2015-10-14 Thread Domen Kožar
It's really sad to me that we have Nix as a core tool to solve packaging problems and then we don't even release hydra and claim minimum versions required for it's dependencies. It gives a really bad taste to anyone who tries Nix stack and gets bitten on such trivial problem we claim to solve.

Re: [Nix-dev] hydra build failures

2015-10-14 Thread Eelco Dolstra
Hi, On 14/10/15 12:39, Christian Theune wrote: >> You need to update Nixpkgs to get the latest unstable Nix version, which >> Hydra >> requires. > > Ah, thanks. I didn’t think about *that* :) > > To learn something from this: what was the indicator to notice? Hydra build failures in C++ code

Re: [Nix-dev] hydra build failures

2015-10-14 Thread Eelco Dolstra
Hi, On 14/10/15 13:01, Domen Kožar wrote: > It's really sad to me that we have Nix as a core tool to solve packaging > problems and then we don't even release hydra and claim minimum versions > required for it's dependencies. Well, it's important to note that Hydra *is* unreleased software - it

Re: [Nix-dev] hydra build failures

2015-10-14 Thread Domen Kožar
Thanks. There are various companies/people using it in the wild, I see no reason why we couldn't release an alpha, just so people can install it successfully. On Wed, Oct 14, 2015 at 1:24 PM, Eelco Dolstra wrote: > Hi, > > On 14/10/15 13:01, Domen Kožar wrote: > >

Re: [Nix-dev] attribute 'replaceStrings' missing??

2015-10-14 Thread Christopher Rooney
Vladimir, that did the trick, thanks. Arseniy, I did have a bad hash, so thanks for that, even though it didn't solve the pressing problem. On Wed, Oct 14, 2015 at 5:16 PM, Vladimír Čunát wrote: > Hi. > > On 10/14/2015 11:25 PM, Christopher Rooney wrote: > > I updated for the

Re: [Nix-dev] hydra build failures

2015-10-14 Thread Christian Theune
Hi, > On 14 Oct 2015, at 11:23, Eelco Dolstra wrote: > > Hi, > > On 13/10/15 19:07, Christian Theune wrote: > >> In revision 82504fe01084f432443c121614532d29c781082a I get this error: >> http://dpaste.com/2M8RJHB >> >> In revision

Re: [Nix-dev] hydra build failures

2015-10-14 Thread Christian Theune
> On 14 Oct 2015, at 13:32, Vladimír Čunát wrote: > > On 10/14/2015 01:24 PM, Eelco Dolstra wrote: >> Well, it's important to note that Hydra *is* unreleased software - it exists >> to >> do continuous builds for nixos.org, and I can't really make any claims about >> its >>