Re: [Nix-dev] Feedback / Is a contributor wanted?

2009-01-03 Thread Marc Weber
> Can anybody tell me: > > - if there's a REPL for Nix? I'd like to debug network-interfaces.nix REPL? What is that? > (I can connect to my home > wireless network if I issue iwconfig/ifconfig incantations by hand, > but I've looked at that script > and I don't know how it might be failing) > - w

[Nix-dev] new packages: mldonkey and cromfs

2009-01-03 Thread Lluís Batlle
Patch for those two programs. The mldonkey compiles without GUI (which uses gtk) and without gd (plots for the web interface), but it should at least work. I haven't attempted to get it running; I still have to think how to put it on usage on nixos. Cromfs uses fuse. I also add the removal of the

[Nix-dev] Patch for nixpkgs, iproute, to have 'tc'.

2009-01-03 Thread Lluís Batlle
Updating the iproute package version, and getting 'tc'. I've not checked if flex and db4 are needed since the version update, but they don't bother me too much by now. My machine needs 15 minutes to build that. :) Index: pkgs/os-specific/linux/iproute/default.nix ==

[Nix-dev] Re: NixOS: New scheme

2009-01-03 Thread Nicolas Pierron
Hi, I have started to write a bit of manual for NixOS (fix-style branch) Extending NixOS: http://nicolas.b.pierron.free.fr/nixos/manual.html#id2476872 I am trying to explain how to extend NixOS with the only common syntax. So there is no need to detail specific problems of neither upstart-jobs

[Nix-dev] Re: tryCatch function: tryRethow ?

2009-01-03 Thread Michael Raskin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicolas Pierron wrote: > In fact, I don't see much drawback. > >> So I vote for reducing functionality to force >> rethinking implementation if a need arises. > > What do you mean ? > I have made this because I need this trick to handle error message

[Nix-dev] Re: tryCatch function: tryRethow ?

2009-01-03 Thread Nicolas Pierron
On Sat, Jan 3, 2009 at 11:39, Michael Raskin <7c6f4...@mail.ru> wrote: > Nicolas Pierron wrote: >> Many people have reported that message are not very helpful and this >> is really the case inside NixOS where everything is merged and you are >> not able to figure out what is the problem. So I have

[Nix-dev] Re: tryCatch function: tryRethow ?

2009-01-03 Thread Michael Raskin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicolas Pierron wrote: > Hi, > > Many people have reported that message are not very helpful and this > is really the case inside NixOS where everything is merged and you are > not able to figure out what is the problem. So I have made a patch > for

[Nix-dev] Proposal: tryCatch function

2009-01-03 Thread Nicolas Pierron
Hi, Many people have reported that message are not very helpful and this is really the case inside NixOS where everything is merged and you are not able to figure out what is the problem. So I have made a patch for nix which add a builtin called "tryCatch". The tryCatch function expect a value a