mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
8 lines
226 B
Nix
8 lines
226 B
Nix
|
# Throws an error if any of our lib tests fail.
|
||
|
|
||
|
let tests = [ "misc" "systems" ];
|
||
|
all = builtins.concatLists (map (f: import (./. + "/${f}.nix")) tests);
|
||
|
in if all == []
|
||
|
then null
|
||
|
else throw (builtins.toJSON all)
|