summary refs log tree commit diff
path: root/nixos/modules/services/databases
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2014-02-27 13:22:04 +0100
committerDomen Kožar <domen@dev.si>2014-02-27 13:22:29 +0100
commit97a0dd9eb92014be027ccc89cb39e43baabe090d (patch)
tree8e57dc540c56a661a154ec89507994ec8283be5c /nixos/modules/services/databases
parentf7c04b1e6b43114c6ffa822c29e93621e97ed35a (diff)
downloadnixpkgs-97a0dd9eb92014be027ccc89cb39e43baabe090d.tar
nixpkgs-97a0dd9eb92014be027ccc89cb39e43baabe090d.tar.gz
nixpkgs-97a0dd9eb92014be027ccc89cb39e43baabe090d.tar.bz2
nixpkgs-97a0dd9eb92014be027ccc89cb39e43baabe090d.tar.lz
nixpkgs-97a0dd9eb92014be027ccc89cb39e43baabe090d.tar.xz
nixpkgs-97a0dd9eb92014be027ccc89cb39e43baabe090d.tar.zst
nixpkgs-97a0dd9eb92014be027ccc89cb39e43baabe090d.zip
nixos: set all package options to have type package
Diffstat (limited to 'nixos/modules/services/databases')
-rw-r--r--nixos/modules/services/databases/firebird.nix1
-rw-r--r--nixos/modules/services/databases/mongodb.nix1
-rw-r--r--nixos/modules/services/databases/postgresql.nix2
-rw-r--r--nixos/modules/services/databases/redis.nix1
4 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/firebird.nix b/nixos/modules/services/databases/firebird.nix
index 75c225bdb67..f9f7e9d7c51 100644
--- a/nixos/modules/services/databases/firebird.nix
+++ b/nixos/modules/services/databases/firebird.nix
@@ -49,6 +49,7 @@ in
 
       package = mkOption {
         default = pkgs.firebirdSuper;
+        type = types.package;
         /*
           Example: <code>package = pkgs.firebirdSuper.override { icu =
             pkgs.icu; };</code> which is not recommended for compatibility
diff --git a/nixos/modules/services/databases/mongodb.nix b/nixos/modules/services/databases/mongodb.nix
index 213a60687b2..a2f2593e797 100644
--- a/nixos/modules/services/databases/mongodb.nix
+++ b/nixos/modules/services/databases/mongodb.nix
@@ -39,6 +39,7 @@ in
 
       package = mkOption {
         default = pkgs.mongodb;
+        type = types.package;
         description = "
           Which MongoDB derivation to use.
         ";
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix
index 265d26e8ce9..cc4230d4d6a 100644
--- a/nixos/modules/services/databases/postgresql.nix
+++ b/nixos/modules/services/databases/postgresql.nix
@@ -55,7 +55,7 @@ in
       };
 
       package = mkOption {
-        type = types.path;
+        type = types.package;
         example = literalExample "pkgs.postgresql92";
         description = ''
           PostgreSQL package to use.
diff --git a/nixos/modules/services/databases/redis.nix b/nixos/modules/services/databases/redis.nix
index ea6399ba4f4..9a4ce36a5cb 100644
--- a/nixos/modules/services/databases/redis.nix
+++ b/nixos/modules/services/databases/redis.nix
@@ -45,6 +45,7 @@ in
       package = mkOption {
         default = pkgs.redis;
         description = "Which Redis derivation to use.";
+        type = types.package;
       };
 
       user = mkOption {