From 52d12b473af0dfbf7f5af1bd75ac5a5f2366f887 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 9 Oct 2016 11:19:54 +0200 Subject: [PATCH] mysql service: specify defaultText for package option Also provide an example that differs from the default. --- nixos/modules/services/databases/mysql.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/databases/mysql.nix b/nixos/modules/services/databases/mysql.nix index e5e8a57f4b0e..1180531248f9 100644 --- a/nixos/modules/services/databases/mysql.nix +++ b/nixos/modules/services/databases/mysql.nix @@ -53,7 +53,8 @@ in package = mkOption { type = types.package; default = pkgs.mysql; - example = literalExample "pkgs.mysql"; + defaultText = "pkgs.mysql"; + example = literalExample "pkgs.mysql55"; description = " Which MySQL derivation to use. ";