Update default.nix (#42)
This commit is contained in:
parent
3f197dc759
commit
846b2ae0fc
|
@ -121,6 +121,9 @@ let
|
||||||
builtins.foldl' op { } systems
|
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
|
# Nix flakes insists on having a flat attribute set of derivations in
|
||||||
# various places like the `packages` and `checks` attributes.
|
# various places like the `packages` and `checks` attributes.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue