treewide: use mkPackageOption (#6727)
This commit is contained in:
parent
1f679ed2a2
commit
f1d4acaa10
29 changed files with 39 additions and 195 deletions
|
|
@ -15,12 +15,7 @@ in {
|
|||
programs.tiny = {
|
||||
enable = mkEnableOption "tiny, a TUI IRC client written in Rust";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.tiny;
|
||||
defaultText = literalExpression "pkgs.tiny";
|
||||
description = "The {command}`tiny` package to install.";
|
||||
};
|
||||
package = lib.mkPackageOption pkgs "tiny" { };
|
||||
|
||||
settings = mkOption {
|
||||
type = format.type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue