Merge pull request #153961 from drperceptron/fix-pluginupdate

pluginupdate.py: make experimental feature `nix-command` explicit
This commit is contained in:
figsoda 2022-01-08 12:26:18 -05:00 committed by GitHub
commit 41216b003f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -305,7 +305,7 @@ class CleanEnvironment(object):
def get_current_plugins(editor: Editor) -> List[Plugin]:
with CleanEnvironment():
cmd = ["nix", "eval", "--impure", "--json", "--expr", editor.get_plugins]
cmd = ["nix", "eval", "--extra-experimental-features", "nix-command", "--impure", "--json", "--expr", editor.get_plugins]
log.debug("Running command %s", cmd)
out = subprocess.check_output(cmd)
data = json.loads(out)