From 846b2ae0fc4cc943637d3d1def4454213e203cba Mon Sep 17 00:00:00 2001 From: Andy Richardson Date: Thu, 20 Jan 2022 17:46:32 +0000 Subject: [PATCH] Update default.nix (#42) --- default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default.nix b/default.nix index 4963107..45a615b 100644 --- a/default.nix +++ b/default.nix @@ -120,6 +120,9 @@ let in builtins.foldl' op { } systems ; + + # Builds a map from =value to . = value. + eachSystemMap = systems: f: builtins.listToAttrs (builtins.map (system: { name = system; value = f system; }) systems); # Nix flakes insists on having a flat attribute set of derivations in # various places like the `packages` and `checks` attributes.