Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pkgs/sandbox: Mount closure of /etc/static | aszlig | 2017-10-03 | 1 | -3/+5 |
| | | | | | | | | We already mount /etc, but it isn't quite enough, because it contains files symlinked to /etc/static, which in turn is a store path so we need to mount the closure of that path as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org> | ||||
* | pkgs/sandbox: Mount paths from path-like variables | aszlig | 2017-10-03 | 1 | -0/+116 |
On NixOS the LD_LIBRARY_PATH looks similar to this (depending on the configuration): /run/opengl-driver/lib:/run/opengl-driver-32/lib However, we don't have these paths available within the sandbox, because so far we've only used exportReferencesGraph to gather the runtime dependencies after the build has succeeded. This obviously doesn't take into account runtime dependencies from the system itself. We are now taking care of this by using the Nix store library to query the requisities of all the paths that are contained inside path-like variables (multiple paths delimited by colons) and mount them during sandbox setup. Signed-off-by: aszlig <aszlig@redmoonstudios.org> |