mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
saneBackends: drop libusb override; use libusb1 directly
This commit is contained in:
parent
eeca8c0441
commit
6a76cd1336
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl
|
||||
, avahi, libusb, libv4l, net_snmp
|
||||
, avahi, libusb1, libv4l, net_snmp
|
||||
, gettext, pkgconfig
|
||||
, gt68xxFirmware ? null, snapscanFirmware ? null
|
||||
, hotplugSupport ? true
|
||||
@ -23,9 +23,10 @@ stdenv.mkDerivation {
|
||||
|
||||
configureFlags = []
|
||||
++ stdenv.lib.optional (avahi != null) "--enable-avahi"
|
||||
++ stdenv.lib.optional (libusb != null) "--enable-libusb_1_0";
|
||||
++ stdenv.lib.optional (libusb1 != null) "--enable-libusb_1_0"
|
||||
;
|
||||
|
||||
buildInputs = [ avahi libusb libv4l net_snmp ];
|
||||
buildInputs = [ avahi libusb1 libv4l net_snmp ];
|
||||
nativeBuildInputs = [ gettext pkgconfig ];
|
||||
|
||||
postInstall = ''
|
||||
|
@ -15535,7 +15535,6 @@ let
|
||||
gt68xxFirmware = config.sane.gt68xxFirmware or null;
|
||||
snapscanFirmware = config.sane.snapscanFirmware or null;
|
||||
hotplugSupport = config.sane.hotplugSupport or true;
|
||||
libusb = libusb1;
|
||||
};
|
||||
|
||||
saneBackendsGit = callPackage ../applications/graphics/sane/backends/git.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user