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 a new issue