inventory: unit test autoloading with a virtual fs

This commit is contained in:
Johannes Kirschbauer
2025-10-12 16:07:08 +02:00
parent 7f49449f94
commit 1d38ffa9c2
6 changed files with 180 additions and 17 deletions

View File

@@ -36,6 +36,10 @@ lib.fix (
# TODO: Flatten our lib functions like this:
resolveModule = clanLib.callLib ./resolve-module { };
fs = {
inherit (builtins) pathExists readDir;
};
};
in
f