When an evaluation is canceled, any expressions referencing previous one will be immediately evaluated to an Interrupted error again, though it's not actually interrupted again.
Steps To Reproduce
nix repl '<nixpkgs>'
Evaluate stdenv and immediately press Ctrl-C to cancel it.
Evaluate hello or any other package referencing stdenv. It will immediately result in another Interrupted error.
Expected behavior
Evaluate the new expressions (which may reference previous interrupted thunks) again without error.
Describe the bug
When an evaluation is canceled, any expressions referencing previous one will be immediately evaluated to an
Interrupted
error again, though it's not actually interrupted again.Steps To Reproduce
nix repl '<nixpkgs>'
stdenv
and immediately pressCtrl-C
to cancel it.hello
or any other package referencingstdenv
. It will immediately result in anotherInterrupted
error.Expected behavior Evaluate the new expressions (which may reference previous interrupted thunks) again without error.
nix-env --version
output nix-env (Nix) 2.4pre20201205_a5d85d0