From 192f4144b282a7f04695fcb79d84e8278ee6af8c Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 19 Mar 2018 21:29:48 -0400 Subject: release-lib: Filter supportedSystems with `meta.platforms`-style patterns Instead of intersecting system strings, we filter with the sort of patterns used in `meta.platforms`. Indicating this change `forTheseSystems` has been renamed to `forMatchingSystems`, since the given list is now patterns to match, and not the systems themselves. [Just as with `meta.platforms`, systems strings are also supported for backwards compatibility.] This is more flexible, and makes the `forMatchingSystems` and packagePlatforms` cases more analogous. --- pkgs/top-level/release-cross.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/top-level/release-cross.nix') diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix index ef99dbd619e..0d15d817a66 100644 --- a/pkgs/top-level/release-cross.nix +++ b/pkgs/top-level/release-cross.nix @@ -88,7 +88,7 @@ in f (["buildPackages"] ++ path) { inherit system crossSystem; } ); - testEqual = path: systems: forTheseSystems systems (testEqualOne path); + testEqual = path: systems: forMatchingSystems systems (testEqualOne path); mapTestEqual = lib.mapAttrsRecursive testEqual; -- cgit 1.4.1