all-packages.nix: Don't recurse into 'tests'

Doing so significantly slows down 'nix-env -qa' (4.30s vs 5.17s),
mostly because it seems to do a NixOS system evaluation.

This attribute should probably be removed entirely since tests should
be in release.nix, not pollute nix-env's package set.
This commit is contained in:
Eelco Dolstra 2019-04-27 21:54:09 +02:00
parent a5600ccfae
commit 014c26d75b

View file

@ -84,7 +84,7 @@ in
by Hydra.
'';
tests = recurseIntoAttrs (callPackages ../test {});
tests = callPackages ../test {};
### Nixpkgs maintainer tools