Skip to content

Commit

Permalink
platformio: Enable shell completion generation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kneitinger committed Dec 18, 2020
1 parent 85298db commit 90041a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/development/arduino/platformio/core.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
];

Expand Down

0 comments on commit 90041a0

Please sign in to comment.