抽象mkOutOfStoreSymlink,为以后更新为引用相对路径做准备

This commit is contained in:
2025-04-29 15:16:45 +08:00
parent d4177d6823
commit 9a39e2512e
7 changed files with 28 additions and 11 deletions

View File

@@ -5,7 +5,4 @@ in
{
# 导出mkNixosSystem函数
inherit (mkNixosSystemLib) mkNixosSystem;
# 转换相对路径到绝对路径
absolutePath = path: "${builtins.path { name = "path"; path = path; }}";
}