mirror of
https://github.com/9001/copyparty.git
synced 2026-01-11 23:32:50 -07:00
nixos: use mkPackageOption instead of mkOption (#1193)
This gets rid of a warning when trying to build a system with documentation.nixos.includeAllModules enabled
This commit is contained in:
parent
caf831fc28
commit
9d223d6ca7
|
|
@ -69,11 +69,8 @@ in
|
|||
options.services.copyparty = {
|
||||
enable = mkEnableOption "web-based file manager";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.copyparty;
|
||||
defaultText = "pkgs.copyparty";
|
||||
description = ''
|
||||
package = mkPackageOption pkgs "copyparty" {
|
||||
extraDescription = ''
|
||||
Package of the application to run, exposed for overriding purposes.
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue