mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
8d8dd6fdbf
Currently udev rules symlinks against platformio sources, pulling in the platformio source tree into the runtime closure. Previous to platformio-core being exposed separately from platformio this also meant that you had no ergonomic way to avoid platformio in the system closure, even though you only wanted the udev rules. We can avoid this by making platformio-core multi output, making it trivial to depend only on the udev rules.
11 lines
484 B
Diff
11 lines
484 B
Diff
diff --git a/platformio/exception.py b/platformio/exception.py
|
|
index ef1d3bab..445174fc 100644
|
|
--- a/platformio/exception.py
|
|
+++ b/platformio/exception.py
|
|
@@ -57,6 +57,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 add the platformio-core.udev package to services.udev.packages"
|
|
)
|