3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/arduino/platformio/missing-udev-rules-nixos.patch
Fabian Geiselhart 5ed47f34e4 platformio: Patch warning about missing udev rules
This adds the sentence "On NixOS add the platformio package to
services.udev.packages" to the warning.
2020-06-29 19:51:46 +02:00

15 lines
561 B
Diff

diff --git a/platformio/exception.py b/platformio/exception.py
index d291ad7f..4761a35b 100644
--- a/platformio/exception.py
+++ b/platformio/exception.py
@@ -195,7 +195,8 @@ class MissedUdevRules(InvalidUdevRules):
MESSAGE = (
"Warning! Please install `99-platformio-udev.rules`. \nMode details: "
- "https://docs.platformio.org/en/latest/faq.html#platformio-udev-rules"
+ "https://docs.platformio.org/en/latest/faq.html#platformio-udev-rules\n"
+ "On NixOS add the platformio package to services.udev.packages"
)