mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-03 06:04:38 +00:00
- Rebase `fix-paths.patch` to accomodate upstream changes in `lsusb.py` - Update Darwin patch URL to homebrew-core as the old formula-patches repo is deprecated (hash unchanged).
16 lines
335 B
Diff
16 lines
335 B
Diff
diff --git a/lsusb.py b/lsusb.py
|
|
index 8f19ec4..ae81134 100755
|
|
--- a/lsusb.py
|
|
+++ b/lsusb.py
|
|
@@ -27,9 +27,7 @@ showwakeup = False
|
|
|
|
prefix = "/sys/bus/usb/devices/"
|
|
usbids = [
|
|
- "/usr/share/hwdata/usb.ids",
|
|
- "/usr/share/misc/usb.ids",
|
|
- "/usr/share/usb.ids",
|
|
+ "@hwdata@/share/hwdata/usb.ids",
|
|
]
|
|
cols = ("", "", "", "", "", "")
|
|
|