···7575 f (["buildPackages"] ++ path) { inherit system crossSystem; }
7676 );
77777878- testEqual = path: systems: forAllSupportedSystems systems (testEqualOne path);
7878+ testEqual = path: systems: forTheseSystems systems (testEqualOne path);
79798080 mapTestEqual = lib.mapAttrsRecursive testEqual;
8181
+4-3
pkgs/top-level/release-lib.nix
···5858 interested in the result of cross building a package. */
5959 crossMaintainers = [ maintainers.viric ];
60606161- forAllSupportedSystems = systems: f:
6161+ forAllSystems = genAttrs supportedSystems;
6262+ forTheseSystems = systems: f:
6263 genAttrs (filter (x: elem x supportedSystems) systems) f;
63646465 /* Build a package on the given set of platforms. The function `f'
···6667 platform as an argument . We return an attribute set containing
6768 a derivation for each supported platform, i.e. ‘{ x86_64-linux =
6869 f pkgs_x86_64_linux; i686-linux = f pkgs_i686_linux; ... }’. */
6969- testOn = systems: f: forAllSupportedSystems systems
7070+ testOn = systems: f: forTheseSystems systems
7071 (system: hydraJob' (f (pkgsFor system)));
717272737374 /* Similar to the testOn function, but with an additional
7475 'crossSystem' parameter for allPackages, defining the target
7576 platform for cross builds. */
7676- testOnCross = crossSystem: systems: f: forAllSupportedSystems systems
7777+ testOnCross = crossSystem: systems: f: forTheseSystems systems
7778 (system: hydraJob' (f (allPackages { inherit system crossSystem; })));
78797980