From 90041a06456e2738b3c9138c1c3e321116cd5b11 Mon Sep 17 00:00:00 2001 From: Kyle Kneitinger Date: Thu, 17 Dec 2020 23:22:40 -0800 Subject: [PATCH] platformio: Enable shell completion generation The `platformio system completion install` command relies on the click-completion python package to derive completions from the current click argument logic. When this command is ran, it currently errors on pip exceptions. If a nix-shell is used to run this command with click-completion installed, shell completion is broken when outside of the nix-shell. --- pkgs/development/arduino/platformio/core.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/arduino/platformio/core.nix b/pkgs/development/arduino/platformio/core.nix index a039314d753df..0e425d3b93cfd 100644 --- a/pkgs/development/arduino/platformio/core.nix +++ b/pkgs/development/arduino/platformio/core.nix @@ -1,5 +1,5 @@ -{ stdenv, lib, buildPythonApplication, fetchpatch -, bottle, click, colorama, semantic-version +{ stdenv, lib, buildPythonApplication, bottle +, click, click-completion, colorama, semantic-version , lockfile, pyserial, requests , tabulate, pyelftools, marshmallow , pytest, tox, jsondiff @@ -79,8 +79,8 @@ in buildPythonApplication rec { inherit version src; propagatedBuildInputs = [ - bottle click colorama git lockfile - pyserial requests semantic-version + bottle click click-completion colorama git + lockfile pyserial requests semantic-version tabulate pyelftools marshmallow ];