uhubctl: fix build

It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
This commit is contained in:
Jan Tojnar 2020-04-04 12:47:39 +02:00
parent 71278aef73
commit 38ed5c6d8e
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,6 +1,6 @@
{ stdenv
, fetchFromGitHub
, libusb
, libusb1
}:
stdenv.mkDerivation rec {
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "1cgmwsf68g49k6q4jvz073bpjhg5p73kk1a4kbgkxmvx01gmbcmq";
};
buildInputs = [ libusb ];
buildInputs = [ libusb1 ];
installFlags = [ "prefix=${placeholder "out"}" ];
meta = with stdenv.lib; {