nixpkgs/pkgs/development/embedded/platformio/missing-udev-rules-nixos.patch
2023-12-16 08:27:46 +01:00

13 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 ];`."
)