pluginupdate.py: make experimental feature nix-command
explicit
This commit is contained in:
parent
ec66a6a08f
commit
539f55df44
|
@ -305,7 +305,7 @@ class CleanEnvironment(object):
|
||||||
|
|
||||||
def get_current_plugins(editor: Editor) -> List[Plugin]:
|
def get_current_plugins(editor: Editor) -> List[Plugin]:
|
||||||
with CleanEnvironment():
|
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)
|
log.debug("Running command %s", cmd)
|
||||||
out = subprocess.check_output(cmd)
|
out = subprocess.check_output(cmd)
|
||||||
data = json.loads(out)
|
data = json.loads(out)
|
||||||
|
|
Loading…
Reference in a new issue