libusb1: enable udev support for dynamically linked musl platform (#195351)

This was previously disabled because pkgs.udev (=pkgs.systemd) was not building on musl, but that is no longer the case.
This fixes the build of pkgsMusl.usbutils, which requires udev support in libusb1.
This commit is contained in:
Yureka 2022-10-12 14:20:21 +02:00 committed by GitHub
parent 3dae05bb91
commit 7fc8453a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
, fetchpatch
, autoreconfHook
, pkg-config
, enableUdev ? stdenv.isLinux && !stdenv.hostPlatform.isMusl
, enableUdev ? stdenv.isLinux && !stdenv.targetPlatform.isStatic
, udev
, libobjc
, IOKit