diff options
author | aszlig <aszlig@nix.build> | 2017-11-30 07:35:51 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2017-11-30 08:34:05 +0100 |
commit | feb8d535410a59f29ef9f9ec1ad17c393ecac67b (patch) | |
tree | cf53c808051c6bdb4fdf7a1d2cb2e00d8e833a04 /pkgs/openlab/default.nix | |
parent | 38d3fe573f4d0ad2115eaca71a0b8f67fd01a580 (diff) |
pkgs/sandbox: Handle mounting of regular files
While we already have support for mounting plain files, this is done on a very specific basis, mainly the .Xauthority file. Whenever we use bind_mount() and the file is a regular file, mounting that file will fail. So let's actually do a stat on the file and decide whether we want to do bind_file() or bind_mount(). I've stumbled on this because one of the store paths of the run time dependency graph was a plain file and thus the sandbox wrapper was unable to mount it. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/openlab/default.nix')
0 files changed, 0 insertions, 0 deletions