about summary refs log tree commit diff
path: root/scripts/nix-reduce-build.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-05-22T10·18+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-05-22T10·18+0200
commit920f5fd4dda16374a6c25ae91c5f17ed749c067c (patch)
treeb355bb275b0c45f4bcdc69c23790a485dd349a2f /scripts/nix-reduce-build.in
parent7a411e01cfa71604b7b831103e206f338b2fc675 (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 'scripts/nix-reduce-build.in')
0 files changed, 0 insertions, 0 deletions