lix/tests/unit
Rebecca Turner c5d525cd84
Print error messages but not traces
This makes output of values that include errors much cleaner.

Before:
```
nix-repl> { err = builtins.throw "uh oh!"; }
{ err = «error:
       … while calling the 'throw' builtin
         at «string»:1:9:
            1| { err = builtins.throw "uh oh!"; }
             |         ^

       error: uh oh!»; }
```

After:
```
nix-repl> { err = builtins.throw "uh oh!"; }
{ err = «error: uh oh!»; }
```

But if the whole expression throws an error, source locations and (if
applicable) a stack trace are printed, like you'd expect:

```
nix-repl> builtins.throw "uh oh!"
error:
       … while calling the 'throw' builtin
         at «string»:1:1:
            1| builtins.throw "uh oh!"
             | ^

       error: uh oh!
```
2024-02-03 20:50:16 -08:00
..
libexpr Print error messages but not traces 2024-02-03 20:50:16 -08:00
libexpr-support Only link with -pthread on Unix 2024-01-10 20:38:39 -05:00
libstore Merge pull request #9867 from hercules-ci/issue-912 2024-01-31 19:10:59 +01:00
libstore-support test: Generate distinct path names 2024-01-31 18:35:19 +01:00
libutil Improve the FileSystemObjectSink interface 2024-01-22 18:01:21 -05:00
libutil-support test: Generate distinct hashes 2024-01-31 18:35:19 +01:00