1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

postgresql-backup: use system postgresql package

This commit is contained in:
Nikolay Amiantov 2015-05-13 15:03:01 +03:00
parent 92317259ef
commit e9679ce32a

View file

@ -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