Re: [Nix-dev] SVN commit: nix - r34268 - nixpkgs/trunk/pkgs/applications/misc/xmobar

2012-05-29 Thread Peter Simons
Hi Mathijs, xmobar: enable optional wireless support the Haskell package expressions are generated (and re-generated) automatically using the cabal2nix utility: https://github.com/NixOS/cabal2nix The list of flags passed at configure time is hard-coded in this file:

Re: [Nix-dev] SVN commit: nix - r34268 - nixpkgs/trunk/pkgs/applications/misc/xmobar

2012-05-29 Thread Mathijs Kwik
Hi Peter, In this case, I added an optional flag (+dependency). Is this possible in cabal2nix? If not, does anyone object to adding this dependency? (on wireless-tools that is) Thanks, Mathijs On Tue, May 29, 2012 at 9:59 AM, Peter Simons sim...@cryp.to wrote: Hi Mathijs,   xmobar: enable

Re: [Nix-dev] Git conversion of NixOS and Nixpkgs

2012-05-29 Thread Ludovic Courtès
Hello! At first sight the conversion looks good to me. Thanks, Ludo’. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Git conversion of NixOS and Nixpkgs

2012-05-29 Thread Ludovic Courtès
Hello, Michel Alexandre Salim mic...@sylvestre.me skribis: will you require contributors to have Github accounts in the future if they want to be able to commit to nixpkgs directly? That wouldn’t scale well, and there’d probably be lots of merge commits if everyone can push, leading to a

Re: [Nix-dev] SVN commit: nix - r34268 - nixpkgs/trunk/pkgs/applications/misc/xmobar

2012-05-29 Thread Peter Simons
Hi Mathijs. I added an optional flag (+dependency). Is this possible in cabal2nix? No. If not, does anyone object to adding this dependency? (on wireless-tools that is) I don't see a reason why support for that feature shouldn't be enabled by default. The same applies, by the way, to

[Nix-dev] Removed a generation by mistake.

2012-05-29 Thread Marco Maggesi
Hi, I removed a generation by mistake from /nix/var/nix/profile. But I din't yet run GC and I know the original path in /nix/store Can I use nix-store to restore the link (and register the the root)? Thanks, M. ___ nix-dev mailing list

Re: [Nix-dev] Removed a generation by mistake.

2012-05-29 Thread Lluís Batlle i Rossell
On Tue, May 29, 2012 at 01:56:45PM +0200, Marco Maggesi wrote: Hi, I removed a generation by mistake from /nix/var/nix/profile. But I din't yet run GC and I know the original path in /nix/store Can I use nix-store to restore the link (and register the the root)? 'register the root' is simply

Re: [Nix-dev] Removed a generation by mistake.

2012-05-29 Thread Marco Maggesi
Ah, nice! It works. I misunderstood the mechanism. I thought the roots were every single link in itself, not the whole directory. Thanks for the clarification. Marco 2012/5/29 Lluís Batlle i Rossell vi...@viric.name: On Tue, May 29, 2012 at 01:56:45PM +0200, Marco Maggesi wrote: Hi, I removed