git.iko.soy/typeable/nixpkgs
on master help sign in
Tweak
commitfddc347689faf3e8111adaa02661d588d16acc94 authorEelco Dolstra <eelco.dolstra@logicblox.com> dateTue 6 Jan 2015, 11:52 (12 years ago) parentab10131
1 file changed+2−2
pkgs/top-level/release-lib.nix+2−2
pkgs/top-level/release-lib.nix+2−2
@@ -62,7 +62,7 @@ rec {
6262 /* Map an attribute of the form `foo = [platforms...]' to `testOn
6363 [platforms...] (pkgs: pkgs.foo)'. */
6464 mapTestOn = pkgs.lib.mapAttrsRecursiveCond
65− (as: !(as ? type && as.type == "job"))
65+ (as: as.type or "" != "job")
6666 (path: value:
6767 let
6868 job = toJob value;
@@ -74,7 +74,7 @@ rec {
7474 * parameter for allPackages, defining the target platform for cross builds,
7575 * and triggering the build of the host derivation (cross built - crossDrv). */
7676 mapTestOnCross = crossSystem: pkgs.lib.mapAttrsRecursiveCond
77− (as: !(as ? type && as.type == "job"))
77+ (as: as.type or "" != "job")
7878 (path: value:
7979 let
8080 job = toJob value;