pub fn attach_trace(err: EvalError) -> EvalError
Capture the current Nix trace and attach it to an error.