plugins/dap: remove with lib

This commit is contained in:
Austin Horstman 2025-01-23 20:02:06 -06:00
parent fe2789e407
commit e48dda4fe4
No known key found for this signature in database
6 changed files with 36 additions and 24 deletions

View file

@ -1,5 +1,7 @@
{ lib, helpers }:
with lib;
let
inherit (lib) types;
in
rec {
mkAdapterType =
attrs:
@ -92,12 +94,12 @@ rec {
freeformType = types.attrs;
options = {
type = mkOption {
type = lib.mkOption {
description = "Which debug adapter to use.";
type = types.str;
};
request = mkOption {
request = lib.mkOption {
type = types.enum [
"attach"
"launch"
@ -107,7 +109,7 @@ rec {
'';
};
name = mkOption {
name = lib.mkOption {
type = types.str;
description = "A user readable name for the configuration.";
};