adga: Add test for all packages

Changed files
+11 -1
doc
languages-frameworks
pkgs
top-level
+7
doc/languages-frameworks/agda.section.md
···
This will build all reverse dependencies of the standard library,
for example `agdaPackages.agda-categories`, or `agdaPackages.generic`.
+
In some cases it is useful to build _all_ Agda packages.
+
This can be done with the following Github comment:
+
+
```
+
@ofborg build agda.passthru.tests.allPackages
+
```
+
Sometimes, the builds of the reverse dependencies fail because they have not yet been updated and released.
You should drop the maintainers a quick issue notifying them of the breakage,
citing the build error (which you can get from the ofborg logs).
+4 -1
pkgs/top-level/agda-packages.nix
···
lib = lib.extend (final: prev: import ../build-support/agda/lib.nix { lib = prev; });
-
agda = withPackages [] // { inherit withPackages; };
+
agda = withPackages [] // {
+
inherit withPackages;
+
passthru.tests.allPackages = withPackages (lib.filter (pkg: self.lib.isUnbrokenAgdaPackage pkg) (lib.attrValues self));
+
};
standard-library = callPackage ../development/libraries/agda/standard-library {
inherit (pkgs.haskellPackages) ghcWithPackages;