Rebecca Turner
dc4cf16993
lib.debug.throwTestFailures: init
...
`lib.debug.runTests` provides a unit test evaluator for Nix, but its
results are returned in a raw and difficult-to-read form.
Currently, different callers output the results in various ways:
`builtins.throw (builtins.toJSON failures)` and `builtins.throw ("Tests
failed: " + lib.generators.toPretty { } failures)` are both used.
This change adds a new `lib.debug.throwTestFailures` function which
displays the results nicely before throwing an exception (or returns
`null` if no failures are given), unifying these disparate call-sites.
First, each failing test is pretty-printed in a `trace` message:
```
trace: FAIL testDerivation:
Expected: <derivation a>
Result: <derivation b>
```
Then, an exception is thrown containing the number of tests that failed
(and their names), followed by the raw JSON of the results (for parity
with previous usage, and because `lib.generators.toPretty` sometimes
omits information that `builins.toJSON` includes):
```
error:
… while evaluating the file '...':
… caused by explicit throw
at /nix/store/.../lib/debug.nix:528:7:
527| in
528| throw (
| ^
529| builtins.seq traceFailures (
error: 1 tests failed:
- testDerivation
[{"expected":"/nix/store/xh7kyqp69mxkwspmi81a94m9xx74r8dr-a","name":"testDerivation","result":"/nix/store/503l84nir4zw57d1shfhai25bxxn16c6-b"}]
```
2025-11-10 10:41:31 -08:00
Sandro
975870c486
oscar64: v1.32.263 -> v1.32.265 ( #455571 )
2025-11-10 18:29:19 +00:00
Samuel Ainsworth
98912af9c6
python3Packages.anndata: 0.12.4 -> 0.12.6 ( #460142 )
2025-11-10 18:24:18 +00:00
Yureka
fe30bcd4b0
netron: 8.3.9 -> 8.7.3 ( #460405 )
2025-11-10 18:07:02 +00:00
Yureka
06b28f910a
electron-chromedriver_35: remove ( #460303 )
2025-11-10 17:44:22 +00:00
Alyssa Ross
4675070cff
xkeyboard-config: improve license list ( #460126 )
2025-11-10 17:41:46 +00:00
Florian Klink
679ddd612e
netron: 8.3.9 -> 8.7.3
...
electron_36 is also EOL and got marked as insecure in #458485 .
2025-11-10 19:40:08 +02:00
nixpkgs-ci[bot]
46f9e3bfc6
namespace-cli: 0.0.447 -> 0.0.448 ( #460320 )
2025-11-10 17:33:32 +00:00
dotlambda
25734098b5
python313Packages.aioshelly: 13.15.0 -> 13.17.0 ( #459896 )
2025-11-10 16:55:03 +00:00
Fabian Affolter
d158a2823b
python3Packages.notion-client: 2.6.0 -> 2.7.0 ( #458416 )
2025-11-10 16:54:55 +00:00
Fabian Affolter
64719d73d0
python3Packages.ruff-api: 0.1.0 -> 0.2.0 ( #458721 )
2025-11-10 16:52:52 +00:00
Ivan Mincik
490da17877
qgis: 3.44.3 -> 3.44.4 ( #459610 )
2025-11-10 16:42:33 +00:00
Fabian Affolter
b325b41336
python3Packages.orgparse: 0.4.20250520 -> 0.4.20251020 ( #458756 )
2025-11-10 16:40:42 +00:00
Gaétan Lepage
c0e36401fc
vimPlugins.avante-nvim: 0.0.27-unstable-2025-10-31 -> 0.0.27-unstable-2025-11-09 ( #460385 )
2025-11-10 16:40:10 +00:00
Fabian Affolter
27a3e26532
python3Packages.legacy-api-wrap: 1.4.1 -> 1.5 ( #459041 )
2025-11-10 16:40:09 +00:00
Fabian Affolter
c6bea0ec48
python3Packages.yara-x: 1.8.1 -> 1.9.0 ( #459307 )
2025-11-10 16:39:26 +00:00
nixpkgs-ci[bot]
2ff2430bdc
csharpier: 1.1.2 -> 1.2.0 ( #460380 )
2025-11-10 16:39:12 +00:00
nixpkgs-ci[bot]
31f31ac505
qlementine: 1.3.0 -> 1.4.0 ( #460272 )
2025-11-10 16:38:56 +00:00
nixpkgs-ci[bot]
bef70b49ba
redocly: 2.2.0 -> 2.8.0 ( #459494 )
2025-11-10 16:38:47 +00:00
Fabian Affolter
1216d167bc
python3Packages.pysmartthings: 3.3.1 -> 3.3.2 ( #460378 )
2025-11-10 16:38:33 +00:00
Martin Weinelt
26fae4b80e
treewide: remove in-tree usages of nixpkgs.config.allowUnfree ( #460384 )
2025-11-10 16:35:54 +00:00
Felix Bargfeldt
8b480c34db
pygpoabuse: init at 0-unstable-2025-11-09 ( #460088 )
2025-11-10 16:34:16 +00:00
winston
ce181599f2
oscar64: v1.32.263 -> v1.32.265
2025-11-10 17:32:58 +01:00
nixpkgs-ci[bot]
229c323f29
files-cli: 2.15.131 -> 2.15.134 ( #460156 )
2025-11-10 16:26:56 +00:00
Matteo Pacini
3b231f4251
paperless-ngx: 2.19.3 -> 2.19.5 ( #460350 )
2025-11-10 16:24:24 +00:00
K900
1897e7d30a
kdePackages.plasma-keyboard: init at 0.1.0 ( #460373 )
2025-11-10 16:12:09 +00:00
Masum Reza
552b8f9ca5
hyprland: 0.52.0 -> 0.52.1 ( #460279 )
2025-11-10 16:04:20 +00:00
Someone
ee82d4a2fe
python3Packages.triton: 3.4.0 -> 3.5.0 ( #455822 )
2025-11-10 15:59:16 +00:00
R. Ryantm
ffeec20a1b
vimPlugins.avante-nvim: 0.0.27-unstable-2025-10-31 -> 0.0.27-unstable-2025-11-09
2025-11-10 15:53:34 +00:00
Leona Maroni
cf54549660
treewide: remove in-tree usages of nixpkgs.config.allowUnfree
...
In multiple NixOS tests, nixpkgs.config.allowUnfree or
nixpkgs.config.allowUnfreePredicate was set. This leads to Hydra building and
redistributing packages with a unfree license. This is a quite huge legal
problem. This changes removes these use cases.
2025-11-10 16:46:19 +01:00
Yohann Boniface
2a7c82cae3
roboto-mono: 2.002-20190125 -> 3.001, refactor ( #459563 )
2025-11-10 15:41:32 +00:00
Yohann Boniface
a9ea246609
xk6: 1.2.3 -> 1.2.4 ( #459645 )
2025-11-10 15:35:49 +00:00
Ulrik Strid
df8b0e6e52
azure-cli: 2.78.0 -> 2.79.0 ( #458431 )
2025-11-10 15:31:22 +00:00
Ulrik Strid
9d144cd38d
ocamlPackages.facile: unbreak ( #460252 )
2025-11-10 15:30:05 +00:00
R. Ryantm
0f3ecbcef6
csharpier: 1.1.2 -> 1.2.0
2025-11-10 15:20:06 +00:00
Thiago Kenji Okada
aacc13494a
python3Packages.icontract: 2.7.1 -> 2.7.2 ( #460369 )
2025-11-10 15:14:24 +00:00
Matteo Pacini
45a3774372
treewide: remove iedame ( #460343 )
2025-11-10 15:12:50 +00:00
K900
63a3836595
kdePackages.plasma-keyboard: init at 0.1.0
2025-11-10 18:07:19 +03:00
R. Ryantm
f7b0783d0b
python3Packages.pysmartthings: 3.3.1 -> 3.3.2
2025-11-10 15:06:16 +00:00
Doron Behar
eaa6f93b80
gnomeExtensions.gsconnect: 66 -> 67 ( #460346 )
2025-11-10 15:00:29 +00:00
Niklas Korz
32bd3e1636
gnomeExtensions.gsconnect: 66 -> 67
...
https://github.com/GSConnect/gnome-shell-extension-gsconnect/releases/tag/v67
2025-11-10 15:51:51 +01:00
R. Ryantm
9daefc0c61
python3Packages.icontract: 2.7.1 -> 2.7.2
2025-11-10 14:41:34 +00:00
Vincent Laporte
b7af8dcd4a
ocaml-pds: init at 6.55 ( #459560 )
2025-11-10 14:26:43 +00:00
dish
60406ba120
maintainers: add zacharyarnaise ( #459607 )
2025-11-10 14:25:44 +00:00
dish
facbb71ca1
portfolio: 0.80.3 -> 0.80.4 ( #457531 )
2025-11-10 14:25:28 +00:00
dish
d7dfad2658
ludusavi: 0.29.1 -> 0.30.0 ( #460278 )
2025-11-10 14:25:22 +00:00
dish
f2ad4cf039
runc: 1.3.2 -> 1.3.3 ( #458818 )
2025-11-10 14:25:13 +00:00
dish
6d9255e617
renode-dts2repl: 0-unstable-2025-10-31 -> 0-unstable-2025-11-06 ( #460323 )
2025-11-10 14:25:01 +00:00
dish
9fda0faf60
clickhouse: reduce src tarball size ( #460072 )
2025-11-10 14:24:52 +00:00
dish
b64c1e4c2b
yarn-berry: 4.10.3 -> 4.11.0 ( #460187 )
2025-11-10 14:23:55 +00:00