[Nix-dev] /dev/shm inconsistency in chroot

Sree Harsha Totakura sreeharsha at totakura.in
Fri Jan 24 18:44:33 CET 2014



On 01/24/2014 06:13 PM, Mark H Weaver wrote:
> Shea Levy <shea at shealevy.com> writes:
>> > Another option is to mount  a devtmpfs there, for systems which support it.

devtmpfs may give different devices on each machine and they may hinder
our build reproducibility.

> The thing is, we don't actually want most of the system's devices to be
> in the build environment, do we?  These are all impurities.  I don't
> think we want /dev/sda, for example.

Sure, I agree.  I propose we start enumerating commonly needed devices
and create them.  If in future, a package requires access to certain
device while building (or during tests) we can include it in our list of
created device nodes.

Sree


More information about the nix-dev mailing list