[Nix-dev] [PATCH] Preserve supplementary groups of build users

2015-07-01 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: Currently, the build environment made by the daemon does not preserve supplementary groups of the build users. Thus, even though the standalone Guix system sets /dev/kvm 660, owned by root:kvm, and adds the build users to the kvm group, build users are

Re: [Nix-dev] Zero Hydra Failures on staging and master

2015-07-01 Thread Mateusz Kowalczyk
On 07/01/2015 01:01 PM, Luca Bruno wrote: Hello dear nixers, our first and latest ZHF run was very successful. We were able to drop hydra failures from 6000+ failures to almost zero failures! [1] Because the next NixOS stable release will hopefully happen the next month, I'd like to focus

Re: [Nix-dev] [PATCH] Preserve supplementary groups of build users

2015-07-01 Thread Eelco Dolstra
Hi Ludo, On 01/07/15 11:12, Ludovic Courtès wrote: Currently, the build environment made by the daemon does not preserve supplementary groups of the build users. Thus, even though the standalone Guix system sets /dev/kvm 660, owned by root:kvm, and adds the build users to the kvm group,

[Nix-dev] Zero Hydra Failures on staging and master

2015-07-01 Thread Luca Bruno
Hello dear nixers, our first and latest ZHF run was very successful. We were able to drop hydra failures from 6000+ failures to almost zero failures! [1] Because the next NixOS stable release will hopefully happen the next month, I'd like to focus on getting the number of failures low again,

[Nix-dev] [PATCH] Distinguish between “offloadability” and “substitutability”

2015-07-01 Thread Ludovic Courtès
Hi again, Nix commit 55586527 (June 2013) changed the semantics of ‘preferLocalBuild’ from “avoid offloading this derivation” to “avoid offloading *or substituting* this derivation” (see http://bugs.gnu.org/18747.) This patch introduces a new special key, ‘substitution’, to specify whether a

Re: [Nix-dev] [PATCH] Distinguish between “offloadability” and “substitutability”

2015-07-01 Thread Eelco Dolstra
Hi, On 01/07/15 17:21, Ludovic Courtès wrote: Nix commit 55586527 (June 2013) changed the semantics of ‘preferLocalBuild’ from “avoid offloading this derivation” to “avoid offloading *or substituting* this derivation” (see http://bugs.gnu.org/18747.) This patch introduces a new special

Re: [Nix-dev] [PATCH] Preserve supplementary groups of build users

2015-07-01 Thread Ludovic Courtès
Hi Eelco, Eelco Dolstra eelco.dols...@logicblox.com skribis: On 01/07/15 11:12, Ludovic Courtès wrote: Currently, the build environment made by the daemon does not preserve supplementary groups of the build users. Thus, even though the standalone Guix system sets /dev/kvm 660, owned by

Re: [Nix-dev] [PATCH] Distinguish between “offloadability” and “substitutability”

2015-07-01 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: On 01/07/15 17:21, Ludovic Courtès wrote: Nix commit 55586527 (June 2013) changed the semantics of ‘preferLocalBuild’ from “avoid offloading this derivation” to “avoid offloading *or substituting* this derivation” (see

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

2015-07-01 Thread Rickard Nilsson
I managed to solve this by extending the top option definition. So in my plug-in module I now have: { options.top = mkOption { type = with types; attrsOf (submodule ({ name, config, ... }: { config.opt2 = f name; }; }; } / Rickard On 07/01/2015 12:31 AM, Rickard