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
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
config = { allowUnfree = true; };
|
config = { allowUnfree = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
profileMap = map (profile: profile.default);
|
profileMap = list: map (profile: profile.default) (lib.flatten list);
|
||||||
|
|
||||||
mkNodes = dev.callLibs ./mkNodes.nix;
|
mkNodes = dev.callLibs ./mkNodes.nix;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue