3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib/tests/check-eval.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
226 B
Nix
Raw Normal View History

# 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)