about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2015-11-01 14:15:17 +0100
committerLuca Bruno <lethalman88@gmail.com>2015-11-01 14:15:43 +0100
commitff02152defdbaa693ab9dbda89798c95f0716c6b (patch)
treed257b027b7bbf692c4d7762f980aa8c9456b8ed1 /nixos
parent24f8cf9b10a97b92537691907961a7583d2eceb5 (diff)
downloadnixlib-ff02152defdbaa693ab9dbda89798c95f0716c6b.tar
nixlib-ff02152defdbaa693ab9dbda89798c95f0716c6b.tar.gz
nixlib-ff02152defdbaa693ab9dbda89798c95f0716c6b.tar.bz2
nixlib-ff02152defdbaa693ab9dbda89798c95f0716c6b.tar.lz
nixlib-ff02152defdbaa693ab9dbda89798c95f0716c6b.tar.xz
nixlib-ff02152defdbaa693ab9dbda89798c95f0716c6b.tar.zst
nixlib-ff02152defdbaa693ab9dbda89798c95f0716c6b.zip
nixos/postgresql: fix extraPlugins example with a working one
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/databases/postgresql.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix
index 06b9c3fbf4ca..16e3235eb2c8 100644
--- a/nixos/modules/services/databases/postgresql.nix
+++ b/nixos/modules/services/databases/postgresql.nix
@@ -119,7 +119,7 @@ in
       extraPlugins = mkOption {
         type = types.listOf types.path;
         default = [];
-        example = literalExample "pkgs.postgis";
+        example = literalExample "[ (pkgs.postgis.override { postgresql = pkgs.postgresql94; }).v_2_1_4 ]";
         description = ''
           When this list contains elements a new store path is created.
           PostgreSQL and the elments are symlinked into it. Then pg_config,