mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 14:35:30 +03:00
feat: add comment to generated projects.toml
This commit is contained in:
parent
0b4f1add1b
commit
9891508cdd
@ -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)
|
||||
''
|
||||
|
3
src/apps/detect-projects/template.toml
Normal file
3
src/apps/detect-projects/template.toml
Normal 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
|
Loading…
Reference in New Issue
Block a user