about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/embedded/platformio/missing-udev-rules-nixos.patch
blob: 878470920577d82ed28a9c9ee1b87e9e8b17f065 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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 ];`."
     )