Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python.pkgs.libusb1: fix build

+1 -1
+1 -1
pkgs/development/python-modules/libusb1/default.nix
··· 12 12 postPatch = lib.optionalString stdenv.isLinux '' 13 13 substituteInPlace usb1/libusb1.py --replace \ 14 14 "ctypes.util.find_library(base_name)" \ 15 - "'${libusb1}/lib/libusb${stdenv.hostPlatform.extensions.sharedLibrary}'" 15 + "'${libusb1}/lib/libusb-1.0${stdenv.hostPlatform.extensions.sharedLibrary}'" 16 16 ''; 17 17 18 18 buildInputs = [ libusb1 ];