feat: add comment to generated projects.toml

This commit is contained in:
DavHau 2022-12-07 17:36:01 +07:00
parent 0b4f1add1b
commit 9891508cdd
2 changed files with 5 additions and 1 deletions

View File

@ -18,5 +18,6 @@ utils.writePureShellScriptBin
${apps.callNixWithD2N} eval --json \
"dream2nix.functions.discoverers.discoverProjects2 {source = builtins.getEnv \"source\";}" \
| yq --toml-output
| yq --toml-output \
| (cat ${./template.toml} && echo "" && cat)
''

View File

@ -0,0 +1,3 @@
# To re-generate this file, run:
# nix run github:nix-community/dream2nix#detect-projects $source
# ... where `$source` points to the source of your project