diff options
author | figsoda <figsoda@pm.me> | 2021-11-11 13:39:35 -0500 |
---|---|---|
committer | Matthieu Coudron <teto@users.noreply.github.com> | 2021-11-13 17:33:43 +0100 |
commit | 5aaa5f5e75b3795e8f40d18dce211f50cceb6693 (patch) | |
tree | cce980a486e90c201b4a7a28fdbf6ec83dd10c7f /maintainers | |
parent | e29d818477aa67a4def398e2b510437ecfbd4704 (diff) |
pluginupdate.py: fix compatibility with nix 2.4
Diffstat (limited to 'maintainers')
-rw-r--r-- | maintainers/scripts/pluginupdate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainers/scripts/pluginupdate.py b/maintainers/scripts/pluginupdate.py index 2a9a2d4c0a23d..2c2cb3b6dd362 100644 --- a/maintainers/scripts/pluginupdate.py +++ b/maintainers/scripts/pluginupdate.py @@ -305,7 +305,7 @@ class CleanEnvironment(object): def get_current_plugins(editor: Editor) -> List[Plugin]: with CleanEnvironment(): - cmd = ["nix", "eval", "--json", editor.get_plugins] + cmd = ["nix", "eval", "--impure", "--json", "--expr", editor.get_plugins] log.debug("Running command %s", cmd) out = subprocess.check_output(cmd) data = json.loads(out) |