Re: [Nix-dev] Making a custom installation tarball

2014-12-27 Thread Kirill Elagin
I’m no expert but this totally looks like an ordinary derivation, just `nix-build` it. On Fri Dec 26 2014 at 12:14:51 Nikita Karetnikov nik...@karetnikov.org wrote: I’d like to make an installation tarball with a custom set of packages. I’ve been pointed to [1], which is a Hydra job. Is it

Re: [Nix-dev] Making a custom installation tarball

2014-12-27 Thread Kirill Elagin
… passing in your `nixpkgs` and `false` of course. On Sat Dec 27 2014 at 11:14:31 Kirill Elagin kirela...@gmail.com wrote: I’m no expert but this totally looks like an ordinary derivation, just `nix-build` it. On Fri Dec 26 2014 at 12:14:51 Nikita Karetnikov nik...@karetnikov.org wrote:

Re: [Nix-dev] Modifying the init system (introducing S6 supervisionsuite)

2014-12-27 Thread Bardur Arantsson
On 2014-12-27 09:57, Michael Raskin wrote: I'm afraid I fail to see how S6 is better than systemd, except that the author is totally worried about the future of Linux with systemd. S6 has logging without the unfixable bugs of JournalD S6 doesn't insist on breaking xinit/startx-like

Re: [Nix-dev] Dataflow

2014-12-27 Thread Roger Qiu
Oh so that there are harmless forms of non-determinism. I totally forgot about things like that. So there is no way for Nix to automatically know if the package is built correctly? You still need the user to try the package and see if it functions correctly. I know that some packages come

Re: [Nix-dev] How to get rid of systemd (was: Modifying the init system (introducing S6 supervision suite))

2014-12-27 Thread Anderson Torres
Yay! The idea is even better than I expected! 2014-12-27 4:48 GMT-02:00 Ertugrul Söylemez ert...@gmx.de: Note that systemd is not just an init system. This is my first problem - systemd is a bit bloated and mysterious. I don't like the idea of big blobs doing everything on a system. It

Re: [Nix-dev] How to get rid of systemd (was: Modifying the init system (introducing S6 supervision suite))

2014-12-27 Thread Nicolas Pierron
On Sat, Dec 27, 2014 at 7:48 AM, Ertugrul Söylemez ert...@gmx.de wrote: I think as a first step to get rid of systemd and gain a much more sensible services model as well we should move away from NixOS modules for services. The module system is made in such a way that one can build on top of

Re: [Nix-dev] How to get rid of systemd (was: Modifying the init system (introducing S6 supervision suite))

2014-12-27 Thread Shea Levy
Hi all, At Zalora, we are gradually switching to using defnix https://github.com/zalora/defnix. It is still very much under active development (read: may change at any time), and the underlying implementation does use systemd, but the service/functionality interface (check out the defnixos

Re: [Nix-dev] How to get rid of systemd (was: Modifying the init system (introducing S6 supervision suite))

2014-12-27 Thread Tobias Geerinckx-Rice
On 27 December 2014 at 07:48, Ertugrul Söylemez ert...@gmx.de wrote: One thing most of us seem to agree about [...] Maybe that's true (I don't see a consensus on the list, only the usual sparse FUD. I don't follow IRC) but arguments that start this way always give me the willies. [...] is

Re: [Nix-dev] How to get rid of systemd (was: Modifying the init system (introducing S6 supervision suite))

2014-12-27 Thread Ertugrul Söylemez
Hi Nicolas, I think as a first step to get rid of systemd and gain a much more sensible services model as well we should move away from NixOS modules for services. The module system is made in such a way that one can build on top of the work of the other without having any computer

Re: [Nix-dev] How to get rid of systemd (was: Modifying the initsystem (introducing S6 supervision suite))

2014-12-27 Thread Ertugrul Söylemez
Hi Michael, Well, with NixPkgs having multiple instances of a package installed requires zero support from the package expression itself. I do think that services becoming more like packages would be a good thing, but currently I have no idea how to do this except by just giving up the

Re: [Nix-dev] How to get rid of systemd (was: Modifying the init system (introducing S6 supervision suite))

2014-12-27 Thread Ertugrul Söylemez
Hi there Tobias, One thing most of us seem to agree about [...] Maybe that's true (I don't see a consensus on the list, only the usual sparse FUD. I don't follow IRC) but arguments that start this way always give me the willies. I understand why, but I'm not very good at English rhetoric.

Re: [Nix-dev] How to get rid of systemd (was: Modifying the init system (introducing S6 supervision suite))

2014-12-27 Thread Alexander Kjeldaas
I'll just jump in and say that if you is going to donate time to do this, Ertugrul, then I'm all for it. It seems like it is possible to make the service system a lot leaner, smaller, and nicer. This is especially true when services are in containers, or NixOS is used in docker containers. For