mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 22:57:42 +03:00
libusb1: remove assert that breaks udev = null deep override
This is another case of #73102
This commit is contained in:
parent
1d41739764
commit
24bae16e71
@ -3,14 +3,12 @@
|
|||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, enableUdev ? stdenv.isLinux && !stdenv.hostPlatform.isMusl
|
, enableUdev ? stdenv.isLinux && !stdenv.hostPlatform.isMusl
|
||||||
, udev ? null
|
, udev
|
||||||
, libobjc
|
, libobjc
|
||||||
, IOKit
|
, IOKit
|
||||||
, withStatic ? false
|
, withStatic ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert enableUdev -> udev != null;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libusb";
|
pname = "libusb";
|
||||||
version = "1.0.24";
|
version = "1.0.24";
|
||||||
|
Loading…
Reference in New Issue
Block a user