about summary refs log tree commit diff
path: root/scripts/nix-build.in
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-07-12T13·35-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-07-15T14·01+0200
commit16591eb3cccf86da8cd3f20c56e2dd847576ff5e (patch)
treecc77f031f689af1f67e8b3c37d6cf72f36e9d30c /scripts/nix-build.in
parentc3f5413e806a22d3e664416649687e331b14f8b9 (diff)
Allow bind-mounting regular files into the chroot
mount(2) with MS_BIND allows mounting a regular file on top of a regular
file, so there's no reason to only bind directories. This allows finer
control over just which files are and aren't included in the chroot
without having to build symlink trees or the like.

Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'scripts/nix-build.in')
0 files changed, 0 insertions, 0 deletions