Re: [Nix-dev] Will there be a systemd replacement at any time in the future?

2014-09-01 Thread Oliver Charles
I believe at one point the 'jobs' attribute was intended to abstract over the idea of running a service, but I believe this was mostly dropped as no one is interested in building our own buggy/limited version of systemd. ___ nix-dev mailing list

[Nix-dev] Setting up crontab as nixos user

2014-09-01 Thread Damien Cassou
Hi, how can nixos users (not the nixos system, but simple users) specify cron jobs? If a user writes: $ crontab -e then he is presented with a file that has this warning: DO NOT EDIT THIS FILE - edit the master and reinstall. If the user modifies the file nonetheless, cron will never run the

Re: [Nix-dev] Policy for updates in 14.04

2014-09-01 Thread Vladimír Čunát
On 08/31/2014 11:40 PM, Chris Double wrote: This seems a great policy when there are people backporting security fixes to older versions of software. I don't believe this is the case for NixOS. That is a misunderstanding. The main purpose of the stable YY.MM branches *is* to apply security

Re: [Nix-dev] Will there be a systemd replacement at any time in the future?

2014-09-01 Thread Vladimír Čunát
Hi. On 09/01/2014 12:26 AM, Matthias Beyer wrote: This post (to this ML) says pretty much what I think about systemd and why I hate it: http://article.gmane.org/gmane.linux.distributions.nixos/13967 I take these things more as a joke. It is even more extreme than to say that KDE or

Re: [Nix-dev] Package archeology in nixpkgs

2014-09-01 Thread Vladimír Čunát
On 09/01/2014 11:24 AM, Michael Raskin wrote: What triggers reindexing? I suggest we distribute the database with the channel, similarly to the command-not-found database. IMO it is mostly channel users that use installing by name, not developers who build from modified git tree. Vladimir

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Michael Raskin
This post (to this ML) says pretty much what I think about systemd and why I hate it: http://article.gmane.org/gmane.linux.distributions.nixos/13967 I take these things more as a joke. It is even more extreme than to say that KDE or GNOME is eating all desktop apps. To me systemd seems

Re: [Nix-dev] [PATCH] Add an 'optimiseStore' RPC

2014-09-01 Thread Eelco Dolstra
Hi, On 31/08/14 15:44, Ludovic Courtès wrote: The patch below adds an ‘optimiseStore’ RPC, and thus adds a mandatory ‘optimiseStore’ method in ‘StoreAPI’. Looks fine, but it doesn't apply. Can you rebase it on nix master? -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/

Re: [Nix-dev] Package archeology in nixpkgs

2014-09-01 Thread Florent Becker
On 01/09/2014 11:22, Vladimír Čunát wrote: I suggest we distribute the database with the channel, similarly to the command-not-found database. Can't command-not-found suggest using nix-env -iA rather than nix-env -i? That would be one indirection less for that use case, and teach new users

Re: [Nix-dev] Package archeology in nixpkgs

2014-09-01 Thread Wout Mertens
Don't forget the nix-env -u case which updates based on name (in fact, that kinda sucks for sub-attributes like python packages, there are lots of attributes mapping to the same names). Wout. On Mon, Sep 1, 2014 at 10:44 PM, Florent Becker florent.bec...@ens-lyon.org wrote: On 01/09/2014

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Wout Mertens
As a sysadmin, I love systemd and journald. If you want to maintain lots of disparate things and look all over the OS while troubleshooting, good for you, but systemctl and journalctl make life so much easier. Upstart is a very poor substitute. Anyway, systemd is only available on Linux kernels

Re: [Nix-dev] [PATCH] Add an 'optimiseStore' RPC

2014-09-01 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: Looks fine, but it doesn't apply. Can you rebase it on nix master? Oops, sure. Here it is. Thanks, Ludo’. From 88ebc46a1216165a015a744e53319f666eb1b1cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= l...@gnu.org Date: Mon,

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Michael Raskin
As a sysadmin, I love systemd and journald. If you want to maintain lots of disparate things and look all over the OS while troubleshooting, good for you, but systemctl and journalctl make life so much easier. Upstart is a very poor substitute. What are the keys for journalctl to make it work?

Re: [Nix-dev] [PATCH] Add an 'optimiseStore' RPC

2014-09-01 Thread Eelco Dolstra
Hi, On 01/09/14 23:18, Ludovic Courtès wrote: Eelco Dolstra eelco.dols...@logicblox.com skribis: Looks fine, but it doesn't apply. Can you rebase it on nix master? Oops, sure. Here it is. Thanks, applied! -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Paul Colomiets
On Tue, Sep 2, 2014 at 12:26 AM, Michael Raskin 7c6f4...@mail.ru wrote: As a sysadmin, I love systemd and journald. If you want to maintain lots of disparate things and look all over the OS while troubleshooting, good for you, but systemctl and journalctl make life so much easier. Upstart is a

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Michael Raskin
On Tue, Sep 2, 2014 at 12:26 AM, Michael Raskin 7c6f4...@mail.ru wrote: As a sysadmin, I love systemd and journald. If you want to maintain lots of disparate things and look all over the OS while troubleshooting, good for you, but systemctl and journalctl make life so much easier. Upstart is a

Re: [Nix-dev] Package archeology in nixpkgs

2014-09-01 Thread Roger Qiu
The CI system can support this process, every time a new package is built, its then triggers a reindex and mutation of the database, which is then supplied via the channel. On 1/09/2014 7:22 PM, Vladimír C(unát wrote: On 09/01/2014 11:24 AM, Michael Raskin wrote: What triggers reindexing?

Re: [Nix-dev] Package archeology in nixpkgs

2014-09-01 Thread Roger Qiu
I think the name and the attribute name could be named with better names, to prevent confusion. Perhaps a label and path/fully qualified path. The name is just really used for fuzzy search which I believe is there for convenience for the operator. Like the difference between a search engine

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Shea Levy
FWIW we've also had problems with logging to stdout not being captured. Luckily these were all internal apps and we could fix the bug of logging to stdout instead of stderr, but IMO it's also a bug that journald didn't capture it. ~Shea On Tue, Sep 02, 2014 at 02:28:34AM +0400, Michael Raskin

Re: [Nix-dev] Will there be a systemd replacement at any time inthe future?

2014-09-01 Thread Alexei Robyn
Shea Michael: By default systemd sends stdout stderr to the journal, this is controlled by DefaultStandardOutput DefaultStandardError in systemd-system.conf. So yes, if these are set to `journal` (or stdout is set to `journal` and stderr to `inherit`) and you had stdout/stderr messages which

Re: [Nix-dev] Will there be a systemd replacement at any time inthefuture?

2014-09-01 Thread Michael Raskin
Shea Michael: By default systemd sends stdout stderr to the journal, this is controlled by DefaultStandardOutput DefaultStandardError in systemd-system.conf. So yes, if these are set to `journal` (or stdout is set to `journal` and stderr to `inherit`) and you had stdout/stderr messages which