lib: improve profileMap for added convenience

Simplify the definition of suites a bit by removing the need for list
concatenation.
This commit is contained in:
Timothy DeHerrera 2021-04-09 19:42:33 -06:00
parent 658cd2bb08
commit 048171ecaf
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122

View File

@ -7,7 +7,7 @@
config = { allowUnfree = true; };
};
profileMap = map (profile: profile.default);
profileMap = list: map (profile: profile.default) (lib.flatten list);
mkNodes = dev.callLibs ./mkNodes.nix;