1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

Merge pull request #10209 from 9999years/rethrow-for-top-level-errors-in-repl

Print top-level errors normally in `nix repl`
This commit is contained in:
Théophane Hufschmitt 2024-03-11 21:11:28 +01:00 committed by GitHub
commit 18b2ef8b20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 91 additions and 62 deletions

View file

@ -123,7 +123,8 @@ struct NixRepl
.force = true,
.derivationPaths = true,
.maxDepth = maxDepth,
.prettyIndent = 2
.prettyIndent = 2,
.errors = ErrorPrintBehavior::ThrowTopLevel,
});
}
};