1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-25 09:04:07 +03:00

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;