treewide: small darwin improvements
This commit is contained in:
parent
6a0ba53006
commit
cfbb58e455
3 changed files with 5 additions and 2 deletions
|
@ -74,6 +74,7 @@
|
|||
in
|
||||
{
|
||||
system = eval.config.system.build.toplevel;
|
||||
inherit eval;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ in
|
|||
type = types.bool;
|
||||
default = !isLinux;
|
||||
};
|
||||
package = lib.mkPackageOption pkgs "incus" { };
|
||||
package = lib.mkPackageOption pkgs "incus-lts" { };
|
||||
clientPackage = lib.mkOption {
|
||||
type = types.package;
|
||||
default = cfg.package.client;
|
||||
|
|
|
@ -98,7 +98,9 @@ let
|
|||
};
|
||||
|
||||
darwinConfig = lib.optionalAttrs (!isLinux) {
|
||||
warnings = lib.optional options.settei.containers.isDefined "settei.containers doesn't do anything on darwin yet";
|
||||
warnings = lib.optional (
|
||||
config.settei.containers != { }
|
||||
) "settei.containers doesn't do anything on darwin yet";
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue