summaryrefslogtreecommitdiffstats
path: root/pkgs/top-level/release-cross.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-03-19 21:29:48 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-03-19 21:32:28 -0400
commit192f4144b282a7f04695fcb79d84e8278ee6af8c (patch)
treeac712ec83329e74f20d29a355f078fe14cbe4704 /pkgs/top-level/release-cross.nix
parente547bd0dc419cdbe2e8d8440224b252f723590ab (diff)
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.
Diffstat (limited to 'pkgs/top-level/release-cross.nix')
-rw-r--r--pkgs/top-level/release-cross.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix
index ef99dbd619e4..0d15d817a66c 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;