Fix nixos evaluation on systems that haven't set postgresql.package

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-04-05 08:01:06 -04:00
parent 7f1e728606
commit 1e543984bc

View File

@ -75,6 +75,7 @@ in
dataDir = mkOption {
default = "/var/db/postgresql-${cfg.package.psqlSchema}";
defaultText = "/var/db/postgresql-{version}";
description = ''
Data directory for PostgreSQL.
'';