monero-{cli,gui}: require udev only on Linux (#340729)

This commit is contained in:
Pavol Rusnak 2024-09-09 11:52:20 +02:00 committed by GitHub
commit 6437226f78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,8 @@ stdenv.mkDerivation rec {
hidapi
libusb1
protobuf_21
]
++ lib.optionals (trezorSupport && stdenv.isLinux) [
udev
];

View File

@ -79,6 +79,8 @@ stdenv.mkDerivation rec {
libusb1
protobuf_21
python3
]
++ lib.optionals (trezorSupport && stdenv.isLinux) [
udev
];