mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Tweak
This commit is contained in:
parent
ab10131663
commit
fddc347689
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ rec {
|
||||||
/* Map an attribute of the form `foo = [platforms...]' to `testOn
|
/* Map an attribute of the form `foo = [platforms...]' to `testOn
|
||||||
[platforms...] (pkgs: pkgs.foo)'. */
|
[platforms...] (pkgs: pkgs.foo)'. */
|
||||||
mapTestOn = pkgs.lib.mapAttrsRecursiveCond
|
mapTestOn = pkgs.lib.mapAttrsRecursiveCond
|
||||||
(as: !(as ? type && as.type == "job"))
|
(as: as.type or "" != "job")
|
||||||
(path: value:
|
(path: value:
|
||||||
let
|
let
|
||||||
job = toJob value;
|
job = toJob value;
|
||||||
|
@ -74,7 +74,7 @@ rec {
|
||||||
* parameter for allPackages, defining the target platform for cross builds,
|
* parameter for allPackages, defining the target platform for cross builds,
|
||||||
* and triggering the build of the host derivation (cross built - crossDrv). */
|
* and triggering the build of the host derivation (cross built - crossDrv). */
|
||||||
mapTestOnCross = crossSystem: pkgs.lib.mapAttrsRecursiveCond
|
mapTestOnCross = crossSystem: pkgs.lib.mapAttrsRecursiveCond
|
||||||
(as: !(as ? type && as.type == "job"))
|
(as: as.type or "" != "job")
|
||||||
(path: value:
|
(path: value:
|
||||||
let
|
let
|
||||||
job = toJob value;
|
job = toJob value;
|
||||||
|
|
Loading…
Reference in a new issue