outputs: use lib.genAttrs for system attrset generation
This commit is contained in:
parent
6a1b7d27c0
commit
dc0351c2c9
1 changed files with 1 additions and 4 deletions
|
@ -13,10 +13,7 @@ systems = [
|
|||
];
|
||||
|
||||
# (system -> x) -> { [system] := x }
|
||||
forEachSystem = x: lib.pipe systems [
|
||||
(builtins.map (system: { name = system; value = x system; }))
|
||||
builtins.listToAttrs
|
||||
];
|
||||
forEachSystem = lib.genAttrs systems;
|
||||
|
||||
self = {
|
||||
inherit inputs lib self;
|
||||
|
|
Loading…
Add table
Reference in a new issue