targets/darwin: better error message
This commit is contained in:
parent
5c71d4a730
commit
82b58f3820
2 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ in
|
|||
assertions = [
|
||||
{
|
||||
assertion = !config.targets.darwin.linkApps.enable;
|
||||
message = "This modules conflicts with `targets.darwin.linkApps`.";
|
||||
message = "`targets.darwin.copyApps.enable` conflicts with `targets.darwin.linkApps.enable`. Please disable one of them.";
|
||||
}
|
||||
(lib.hm.assertions.assertPlatform "targets.darwin.copyApps" pkgs lib.platforms.darwin)
|
||||
];
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ in
|
|||
assertions = [
|
||||
{
|
||||
assertion = !config.targets.darwin.copyApps.enable;
|
||||
message = "This modules conflicts with `targets.darwin.copyApps`.";
|
||||
message = "`targets.darwin.linkApps.enable` conflicts with `targets.darwin.copyApps.enable`. Please disable one of them.";
|
||||
}
|
||||
(lib.hm.assertions.assertPlatform "targets.darwin.linkApps" pkgs lib.platforms.darwin)
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue