Do not deprecate directory argument

This commit is contained in:
Jörg Thalheim
2025-02-02 16:10:51 +07:00
committed by clan-bot
parent 51113eb656
commit 522156efc8
7 changed files with 75 additions and 39 deletions

View File

@@ -9,8 +9,18 @@ in
{
options = {
self = lib.mkOption {
type = types.path;
type = types.raw;
default = self;
readOnly = true;
defaultText = "Reference to the current flake";
description = ''
This is used to import external clan modules.
'';
};
directory = lib.mkOption {
type = types.path;
default = builtins.toString self;
defaultText = "Root directory of the flake";
description = ''
The directory containing the clan.