vars: improve messaging

This commit is contained in:
Michael Hoang
2025-04-22 01:55:21 +10:00
parent ce58aab21f
commit 2c9b25624a
2 changed files with 4 additions and 2 deletions

View File

@@ -30,7 +30,9 @@ in
readFile file.config.path
else
# if the file is not found, we want to downgrade the priority, to allow overriding via mkDefault
mkOptionDefault (throw "File not found: ${file.config.path}")
mkOptionDefault (
throw "Please run `clan vars generate ${config.clan.core.settings.machine.name}` as file was not found: ${file.config.path}"
)
);
};
};