git.iko.soy/typeable/nixpkgs
on master help sign in
linuxPackages.usbip: disable < 4.10
commitf24fa1e6f51a072be983b0fa78647c9c777c37b7 authorJonathan Ringer <jonringer117@gmail.com> dateThu 29 Oct 2020, 01:15 (6 years ago) parente6db435
1 file changed+3−2
pkgs/os-specific/linux/usbip/default.nix+3−2
pkgs/os-specific/linux/usbip/default.nix+3−2
@@ -1,11 +1,11 @@
1−{ lib, stdenv, kernel, udev, autoconf, automake, libtool }:
1+{ lib, stdenv, kernel, udev, autoconf, automake, libtool, kernelOlder }:
22
33stdenv.mkDerivation {
44 name = "usbip-${kernel.name}";
55
66 src = kernel.src;
77
8− patches = lib.optionals (lib.versionAtLeast "5.4" kernel.version) [
8+ patches = lib.optionals (kernelOlder "5.4") [
99 # fixes build with gcc8
1010 ./fix-snprintf-truncation.patch
1111 # fixes build with gcc9
@@ -27,5 +27,6 @@ stdenv.mkDerivation {
2727 description = "allows to pass USB device from server to client over the network";
2828 license = licenses.gpl2;
2929 platforms = platforms.linux;
30+ broken = kernelOlder "4.10";
3031 };
3132}