clan-cli: Make clan flakes create discover templates from inputs. Add clan flakes list command

This commit is contained in:
Qubasa
2025-01-30 16:24:50 +07:00
parent 9a79ea8e1d
commit 0db5abf56a
9 changed files with 438 additions and 74 deletions

View File

@@ -102,6 +102,11 @@ pythonRuntime.pkgs.buildPythonApplication {
":"
(lib.makeBinPath (lib.attrValues includedRuntimeDependenciesMap))
# We need this for templates to work
"--set"
"CLAN_CORE_PATH"
clan-core-path
"--set"
"CLAN_STATIC_PROGRAMS"
(lib.concatStringsSep ":" (lib.attrNames includedRuntimeDependenciesMap))