mirror of
https://github.com/numtide/flake-utils.git
synced 2024-11-29 23:30:00 +03:00
Update default.nix (#42)
This commit is contained in:
parent
3f197dc759
commit
846b2ae0fc
@ -121,6 +121,9 @@ let
|
||||
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.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user