f2: fix Nix::add_[dx]p_feature type hints
Change-Id: I743b3ac821315465d1d22700ca9b06d8cc1985f0
This commit is contained in:
@@ -69,10 +69,10 @@ class NixSettings:
|
||||
def __setitem__(self, attr: str, value: str):
|
||||
self._settings[attr] = value
|
||||
|
||||
def add_xp_feature(self, *names: list[str]):
|
||||
def add_xp_feature(self, *names: str):
|
||||
self["extra-experimental-features"] += names
|
||||
|
||||
def add_dp_feature(self, *names: list[str]):
|
||||
def add_dp_feature(self, *names: str):
|
||||
self["extra-deprecated-features"] += names
|
||||
|
||||
def update(self, args: dict[str, _NixSettingValue] | None = None, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user