[Nix-dev] user ... has no home directory error in emacs

2015-06-30 Thread Alex Vorobiev
Hi, I have just installed nix-1.9 on RHEL 6.5 (using gcc-5.1 I compiled myself) and I am trying to use it in single-user mode. I installed a few packages and they all seem to work (after I unset LD_LIBRARY_PATH). I also installed emacs which starts but shows this error message user my_user_id

[Nix-dev] multi-user.target must not be After network.target

2015-06-30 Thread Luca Bruno
The multi-user.target must be kept slim, network should not be a prerequisite. I find my server system to have systemctl show multi-user.target|grep After: After=nix-daemon.socket basic.target rescue.service rescue.target swap.target nss-user-lookup.target nss-lookup.target network.target

Re: [Nix-dev] multi-user.target must not be After network.target

2015-06-30 Thread Eelco Dolstra
Hi, On 30/06/15 18:02, Luca Bruno wrote: The multi-user.target must be kept slim, network should not be a prerequisite. +1 on removing. This dependency was apparently added without much thought here: https://github.com/NixOS/nixpkgs/commit/d18c2afc6fa6076274aa8334f8b58e1f4e1cdc8a -- Eelco

Re: [Nix-dev] multi-user.target must not be After network.target

2015-06-30 Thread Mathijs Kwik
I agree. But please note that network.target doesn't do much and probably cannot fail. It basically _starts_ networking, but does not wait for anything to come up. Either a static ip address for an interface or _starting_ dhcpcd (without waiting for it to acquire a lease or whatever) is enough to

[Nix-dev] nixos modules: Setting attrsOf sub-options

2015-06-30 Thread Rickard Nilsson
Hi, I'm stuck on the following problem with the NixOS module system: Say I have an option definition like this: let subOpts = { ... }: { options = { opt1 = mkOption { ... }; opt2 = mkOption { ... }; }; }; in { options = { top =