Re: [Nix-dev] pthread

2014-01-31 Thread Petr Rockai
Vladimír Čunát vcu...@gmail.com writes: On 01/31/2014 02:38 PM, Marco Maggesi wrote: Which derivation contains pthread? Is it in gcc? libpthread is part of glibc (and is pthread.h) You don't need to add anything. I think just specifying -pthread or -lpthread when linking does the thing.

Re: [Nix-dev] Maintainership

2014-01-29 Thread Petr Rockai
Thomas Bereknyei tombe...@gmail.com writes: That almost sounds like an unstable channel. Unstable and unmaintained are two very different things. Rather than removing unmaintained packages, can we make them available as a separate, opt-in channel? I'd say that is an option, but if

Re: [Nix-dev] Maintainership

2014-01-29 Thread Petr Rockai
Jan Malakhovski o...@oxij.org writes: * First, this remove unmaintained policy discourages adding new packages to the public nixpkgs by users that are unable to maintain stuff. In the example above, I would better store the package in my own branch than risk it being unexpectedly removed. This

Re: [Nix-dev] Maintainership

2014-01-29 Thread Petr Rockai
Michael Raskin 7c6f4...@mail.ru writes: Somehow, whenever updates of packages I care about were broken, it was a simple mistake that was easy to fix separately… I think this scenario is overly pessimistic. Well, depends on your point of view. If you only care about a few packages for your

Re: [Nix-dev] Maintainership

2014-01-28 Thread Petr Rockai
Hi, I agree with basically everything said, and I think breaking packages with no maintainers (after the next stable branch-off, 14.0x?) would be really good to make it obvious what is broken and is a candidate for removal. It would also give people a chance to adopt a package they use before it

Re: [Nix-dev] Improving the Developer Experience in the Nix Community

2012-06-27 Thread Petr Rockai
Hi folks, Shea Levy s...@shealevy.com writes: That's why I opened this thread, because we have people with different values but no one is really coming out and saying this is what I want, this is why what's here now is bad. I am more or less a bystander and not really active, but this caught

Re: [Nix-dev] development/libraries too large

2012-01-07 Thread Petr Rockai
Hi, Yury G. Kudryashov urkud.ur...@gmail.com writes: Probably we should drop the tree structure (reduce the number of categories?) and replace it by search tags + tools to query these tags. I tend to agree, and I think it would be prudent to at least have a look at debtags. Lot of effort

Re: [Nix-dev] wicd managing wireless network

2012-01-05 Thread Petr Rockai
Hi, rocon...@theorem.ca writes: Why isn't wpa_supplicant.conf managed by NixOS? Because it contains passwords. Ah, I see. For the record, I keep a /etc/nixos/wpa-supplicant.nix which I require from configuration.nix and that says environment.etc = [ { source = pkgs.writeText

[Nix-dev] [PATCH] Add a package with DICT-formatted wiktionary.

2012-01-04 Thread Petr Rockai
=== --- pkgs/servers/dict/wiktionary2dict.py (revision 0) +++ pkgs/servers/dict/wiktionary2dict.py (working copy) @@ -0,0 +1,778 @@ +# Adapted to produce DICT-compatible files by Petr Rockai in 2012 +# Based on code from wiktiondict by Greg Hewgill +import re +import sys +import codecs +import

[Nix-dev] [PATCH] Add a package with dictd-compatible copy of wordnet.

2012-01-04 Thread Petr Rockai
Hi, the attached patch makes it possible to install wordnet data as a dictd dictionary. Petr Index: pkgs/applications/misc/wordnet/dictd.nix === --- pkgs/applications/misc/wordnet/dictd.nix (revision 0) +++

[Nix-dev] [PATCH] Update dictd to current upstream (1.12.0).

2012-01-04 Thread Petr Rockai
Hi, the attached patch updates the DICT.org software, with some resistance, to the current upstream releases. The current nixpkgs version of dictfmt tends to SEGV on big complicated dictionaries. Petr Index: pkgs/servers/dict/libmaa.nix

Re: [Nix-dev] [PATCH] Weaken an overzealous sanity check on udev rules...

2011-12-05 Thread Petr Rockai
Shea Levy s...@shealevy.com writes: Hi Petr, On 12/4/11 8:52 PM, Petr Rockai wrote: Hi, the below patch is needed to build a configuration that includes recent SANE (scanner drivers) udev rules which mention RUN+=/path/to/script in a comment (which breaks the check). Yours, Petr