libusb1: fix build on darwin via dropping udev (close #920)
vcunat edit: we have udev (systemd) only on Linux systems, extend platforms so we know about breakages from Hydra.
This commit is contained in:
parent
bcec0454e9
commit
e1dc4d8ea8
@ -9,12 +9,12 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs = [ udev ];
|
||||
propagatedBuildInputs = stdenv.lib.optional (stdenv.isLinux) udev;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.libusb.org;
|
||||
description = "User-space USB library";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user