git.iko.soy/typeable/nixpkgs
on master help sign in
Tweak
fddc347Eelco Dolstra
pkgs/top-level/release-lib.nix+2−2
@@ -62,7 +62,7 @@ rec {
62 /* Map an attribute of the form `foo = [platforms...]' to `testOn
62 /* Map an attribute of the form `foo = [platforms...]' to `testOn
63 [platforms...] (pkgs: pkgs.foo)'. */
63 [platforms...] (pkgs: pkgs.foo)'. */
64 mapTestOn = pkgs.lib.mapAttrsRecursiveCond
64 mapTestOn = pkgs.lib.mapAttrsRecursiveCond
65− (as: !(as ? type && as.type == "job"))
65+ (as: as.type or "" != "job")
66 (path: value:
66 (path: value:
67 let
67 let
68 job = toJob value;
68 job = toJob value;
@@ -74,7 +74,7 @@ rec {
74 * parameter for allPackages, defining the target platform for cross builds,
74 * parameter for allPackages, defining the target platform for cross builds,
75 * and triggering the build of the host derivation (cross built - crossDrv). */
75 * and triggering the build of the host derivation (cross built - crossDrv). */
76 mapTestOnCross = crossSystem: pkgs.lib.mapAttrsRecursiveCond
76 mapTestOnCross = crossSystem: pkgs.lib.mapAttrsRecursiveCond
77− (as: !(as ? type && as.type == "job"))
77+ (as: as.type or "" != "job")
78 (path: value:
78 (path: value:
79 let
79 let
80 job = toJob value;
80 job = toJob value;