7 lines
106 B
Nix
7 lines
106 B
Nix
{lib, ...}: {
|
|
mkIfElse = p: yes: no:
|
|
lib.mkMerge [
|
|
(mkIf p yes)
|
|
(mkIf (!p) no)
|
|
];
|
|
}
|