mirror of
https://github.com/divnix/digga.git
synced 2024-12-25 00:55:08 +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:
parent
658cd2bb08
commit
048171ecaf
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user