home: gdb: use 'mkPackageOption'
This commit is contained in:
parent
dc90e14e60
commit
f11cdb3675
|
@ -9,14 +9,7 @@ in
|
|||
rr = {
|
||||
enable = my.mkDisableOption "rr configuration";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.rr;
|
||||
defaultText = literalExample "pkgs.rr";
|
||||
description = ''
|
||||
Package providing rr
|
||||
'';
|
||||
};
|
||||
package = mkPackageOption pkgs "rr" { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue