diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-05-09T13·45+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-05-09T13·45+0200 |
commit | a91c4ca01f720711d80a6f7d16ead70ce8f5f741 (patch) | |
tree | 8846f467aa1e4b1301de37b11b5c1e4cd3a13842 /src/nix-instantiate | |
parent | a1adcdf0878501b512d7ab98d713167f035a330d (diff) |
In restricted eval mode, allow access to the closure of store paths
E.g. this makes nix eval --restrict-eval -I /nix/store/foo '(builtins.readFile "/nix/store/foo/symlink/bla")' (where /nix/store/foo/symlink is a symlink to another path in the closure of /nix/store/foo) succeed. This fixes a regression in Hydra compared to Nix 1.x (where there were no restrictions at all on access to the Nix store).
Diffstat (limited to 'src/nix-instantiate')
0 files changed, 0 insertions, 0 deletions