Skip to content

Commit

Permalink
Update default.nix (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyrichardson committed Jan 20, 2022
1 parent 3f197dc commit 846b2ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ let
in
builtins.foldl' op { } systems
;

# Builds a map from <attr>=value to <system>.<attr> = 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.
Expand Down

0 comments on commit 846b2ae

Please sign in to comment.