monero-{cli,gui}: require udev only on Linux

(cherry picked from commit 83a8e74283)
This commit is contained in:
Pavol Rusnak 2024-09-09 11:41:02 +02:00
parent 54d0213c00
commit c08ed769d1
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
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
];