From e9679ce32a43488b15cccfb77d362561dc6fa9ce Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 13 May 2015 15:03:01 +0300 Subject: [PATCH] postgresql-backup: use system postgresql package --- nixos/modules/services/backup/postgresql-backup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/backup/postgresql-backup.nix b/nixos/modules/services/backup/postgresql-backup.nix index 1f7b123eca37..c4127543f10d 100644 --- a/nixos/modules/services/backup/postgresql-backup.nix +++ b/nixos/modules/services/backup/postgresql-backup.nix @@ -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