fix: replace argument with recursive set

This commit is contained in:
Nydragon 2024-05-21 19:07:32 +09:00
parent 985e784e62
commit bb1606ca76
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209
2 changed files with 3 additions and 4 deletions

View file

@ -40,6 +40,6 @@
}; };
}; };
templates = import ./templates { self = self.templates; }; templates = import ./templates;
}; };
} }

View file

@ -1,5 +1,4 @@
{ self }: rec {
{
basic = { basic = {
path = ./basic; path = ./basic;
description = "A basic template"; description = "A basic template";
@ -25,5 +24,5 @@
''; '';
}; };
defaultTemplate = self.basic; defaultTemplate = basic;
} }