diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-05-22T10·18+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-05-22T10·18+0200 |
commit | 920f5fd4dda16374a6c25ae91c5f17ed749c067c (patch) | |
tree | b355bb275b0c45f4bcdc69c23790a485dd349a2f /src/libexpr/names.hh | |
parent | 7a411e01cfa71604b7b831103e206f338b2fc675 (diff) |
Fix import-from-derivation in restricted eval mode
This relaxes restricted mode to allow access to anything in the store. In the future, it would be better to allow access to only paths that have been constructed in the current evaluation (so a hard-coded /nix/store/blabla in a Nix expression would still be rejected). However, note that reading /nix/store itself is still rejected, so you can't use this so get access to things you don't know about.
Diffstat (limited to 'src/libexpr/names.hh')
0 files changed, 0 insertions, 0 deletions