diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-02 15:24:45 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-02 15:24:45 +0200 |
commit | c945f015de2149233c1e4fa1628f05567f3657ba (patch) | |
tree | eb12ef25cb13ac49c2b577d2f6ff000251ad5f6d /build.nix | |
parent | 28e0742966e962f2672f5731ea3612f223bf3283 (diff) |
Fix segfault in nix-repl / hydra-eval-jobs
If a "with" attribute set fails to evaluate, we have to make sure its
Env record remains unchanged. Otherwise, repeated evaluation gives a
segfault:
nix-repl> :a with 0; { a = x; b = x; }
Added 2 variables.
nix-repl> a
error: value is an integer while an attribute set was expected
nix-repl> b
Segmentation fault
Diffstat (limited to 'build.nix')
0 files changed, 0 insertions, 0 deletions