usbip: fix listing functionality (#120267)

Closes https://github.com/NixOS/nixpkgs/issues/116380.
This commit is contained in:
Luflosi 2021-04-23 01:13:28 +02:00 committed by GitHub
parent b48ace99ca
commit 9df2614d08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, kernel, udev, autoconf, automake, libtool, kernelOlder }:
{ lib, stdenv, kernel, udev, autoconf, automake, libtool, hwdata, kernelOlder }:
stdenv.mkDerivation {
name = "usbip-${kernel.name}";
@ -22,6 +22,8 @@ stdenv.mkDerivation {
./autogen.sh
'';
configureFlags = [ "--with-usbids-dir=${hwdata}/share/hwdata/" ];
meta = with lib; {
homepage = "https://github.com/torvalds/linux/tree/master/tools/usb/usbip";
description = "allows to pass USB device from server to client over the network";