mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix: flake requires toString on git commands
This commit is contained in:
parent
2e98ec90e0
commit
854a29af0f
1 changed files with 3 additions and 3 deletions
|
|
@ -86,9 +86,9 @@ in
|
|||
enable = true;
|
||||
apply = {
|
||||
doneCommand = ''
|
||||
git -C "${cfg.dataDir}" add -A
|
||||
git -C "${cfg.dataDir}" commit -m "${config.name}: $(date +'%F %T')"
|
||||
git -C "${cfg.dataDir}" push
|
||||
git -C "${toString cfg.dataDir}" add -A
|
||||
git -C "${toString cfg.dataDir}" commit -m "${config.name}: $(date +'%F %T')"
|
||||
git -C "${toString cfg.dataDir}" push
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue