about summary refs log tree commit diff
path: root/nixos/modules/programs/evince.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/programs/evince.nix')
-rw-r--r--nixos/modules/programs/evince.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/programs/evince.nix b/nixos/modules/programs/evince.nix
index 9ed5ea0feb04..ed543d35cc5e 100644
--- a/nixos/modules/programs/evince.nix
+++ b/nixos/modules/programs/evince.nix
@@ -24,12 +24,7 @@ in {
       enable = mkEnableOption
         (lib.mdDoc "Evince, the GNOME document viewer");
 
-      package = mkOption {
-        type = types.package;
-        default = pkgs.evince;
-        defaultText = literalExpression "pkgs.evince";
-        description = lib.mdDoc "Evince derivation to use.";
-      };
+      package = mkPackageOption pkgs "evince" { };
 
     };