about summary refs log tree commit diff
path: root/pkgs/data/icons/comixcursors
diff options
context:
space:
mode:
authorGabriel Volpe <volpegabriel@gmail.com>2024-04-15 19:17:53 +0200
committerGabriel Volpe <volpegabriel@gmail.com>2024-04-15 19:17:53 +0200
commitd864c36d57b46d2e5215ee67b885dd8c4fe8b764 (patch)
treeee2c2e9816c3bd56b95bc4ffcbbf400fa3f88311 /pkgs/data/icons/comixcursors
parentfe2bead78b1034052eca1d695118997f31826924 (diff)
tree-wide: use mapCartesianProduct
Diffstat (limited to 'pkgs/data/icons/comixcursors')
-rw-r--r--pkgs/data/icons/comixcursors/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/data/icons/comixcursors/default.nix b/pkgs/data/icons/comixcursors/default.nix
index 1c4fdc195180b..735ff686b49cf 100644
--- a/pkgs/data/icons/comixcursors/default.nix
+++ b/pkgs/data/icons/comixcursors/default.nix
@@ -7,14 +7,13 @@ let
     thickness = [ "" "Slim_" ];  # Thick or slim edges.
     handedness = [ "" "LH_" ];   # Right- or left-handed.
   };
-  product = lib.cartesianProductOfSets dimensions;
   variantName =
     { color, opacity, thickness, handedness }:
     "${handedness}${opacity}${thickness}${color}";
   variants =
     # (The order of this list is already good looking enough to show in the
     # meta.longDescription.)
-    map variantName product;
+    lib.mapCartesianProduct variantName dimensions;
 in
 stdenvNoCC.mkDerivation rec {
   pname = "comixcursors";