[Nix-dev] Re: [Nix-commits] SVN commit: nix - r23483 - in nix/branches/sqlite: scripts src/libstore src/libutil
Lluís Batlle i Rossell
viriketo at gmail.com
Fri Aug 27 15:57:34 CEST 2010
On Fri, Aug 27, 2010 at 01:18:13PM +0000, Eelco Dolstra wrote:
> Author: eelco
> Date: Fri Aug 27 13:18:13 2010
> New Revision: 23483
> URL: https://svn.nixos.org/websvn/nix/?rev=23483&sc=1
>
> Log:
> * Experimental feature: allow a derivation to tell the build hook that
> it requires a certain feature on the build machine, e.g.
>
> requiredSystemFeatures = [ "kvm" ];
>
> We need this in Hydra to make sure that builds that require KVM
> support are forwarded to machines that have KVM support. Probably
> this should also be enforced for local builds.
Could that be the path to request, for example, 'root' access in a build?
I think of the case where a nix derivation has to create an image (squashfs,
ubifs, ...) with devices, and only 'root' can run 'mknod'.
Regards,
Lluís.
More information about the nix-dev
mailing list