mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
postgresql-backup: use system postgresql package
This commit is contained in:
parent
92317259ef
commit
e9679ce32a
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ let
|
|||
|
||||
postgresqlBackupCron = db:
|
||||
''
|
||||
${config.services.postgresqlBackup.period} root ${postgresql}/bin/pg_dump ${db} | ${gzip}/bin/gzip -c > ${location}/${db}.gz
|
||||
${config.services.postgresqlBackup.period} root ${config.services.postgresql.package}/bin/pg_dump ${db} | ${gzip}/bin/gzip -c > ${location}/${db}.gz
|
||||
'';
|
||||
|
||||
in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue