depot/third_party/nixpkgs/pkgs/development/embedded/platformio/missing-udev-rules-nixos.patch
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

12 lines
494 B
Diff

diff --git a/platformio/exception.py b/platformio/exception.py
index 80ffb496..ea064f97 100644
--- a/platformio/exception.py
+++ b/platformio/exception.py
@@ -49,6 +49,7 @@ class MissedUdevRules(InvalidUdevRules):
MESSAGE = (
"Warning! Please install `99-platformio-udev.rules`. \nMore details: "
"https://docs.platformio.org/en/latest/core/installation/udev-rules.html"
+ "On NixOS set `services.udev.packages = with pkgs; [ platformio-core.udev ];`."
)