We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
optionals
optionalAttrs
1 parent b3f6555 commit 7d83fafCopy full SHA for 7d83faf
lib/configurations/default.nix
@@ -147,7 +147,7 @@
147
[
148
({options, ...}: {config.${myconfigName} = {inherit host;} // lib.optionalAttrs (options.${myconfigName} ? rice) {inherit rice;};})
149
]
150
- ++ (lib.optionalAttrs (rice != null) (apply.listOfEverything rice.myconfig rice.nixos rice.home rice.darwin))
+ ++ (lib.optionals (rice != null) (apply.listOfEverything rice.myconfig rice.nixos rice.home rice.darwin))
151
++ builtins.concatMap (riceName: (apply.listOfEverything rices.${riceName}.myconfig rices.${riceName}.nixos rices.${riceName}.home) rices.${riceName}.darwin) (rice.inherits or []);
152
};
153
in
0 commit comments