Skip to content
Snippets Groups Projects
  • Eelco Dolstra's avatar
    15d2d3c3
    Add restricted evaluation mode · 15d2d3c3
    Eelco Dolstra authored
    If ‘--option restrict-eval true’ is given, the evaluator will throw an
    exception if an attempt is made to access any file outside of the Nix
    search path. This is primarily intended for Hydra, where we don't want
    people doing ‘builtins.readFile ~/.ssh/id_dsa’ or stuff like that.
    15d2d3c3
    History
    Add restricted evaluation mode
    Eelco Dolstra authored
    If ‘--option restrict-eval true’ is given, the evaluator will throw an
    exception if an attempt is made to access any file outside of the Nix
    search path. This is primarily intended for Hydra, where we don't want
    people doing ‘builtins.readFile ~/.ssh/id_dsa’ or stuff like that.