cups: request libusb1 directly
This commit is contained in:
parent
f3a5fd548a
commit
2c621ff4f4
@ -13,7 +13,7 @@
|
|||||||
, acl
|
, acl
|
||||||
, gmp
|
, gmp
|
||||||
, darwin
|
, darwin
|
||||||
, libusb ? null
|
, libusb1 ? null
|
||||||
, gnutls ? null
|
, gnutls ? null
|
||||||
, avahi ? null
|
, avahi ? null
|
||||||
, libpaper ? null
|
, libpaper ? null
|
||||||
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig removeReferencesTo ];
|
nativeBuildInputs = [ pkgconfig removeReferencesTo ];
|
||||||
|
|
||||||
buildInputs = [ zlib libjpeg libpng libtiff libusb gnutls libpaper ]
|
buildInputs = [ zlib libjpeg libpng libtiff libusb1 gnutls libpaper ]
|
||||||
++ optionals stdenv.isLinux [ avahi pam dbus ]
|
++ optionals stdenv.isLinux [ avahi pam dbus ]
|
||||||
++ optional enableSystemd systemd
|
++ optional enableSystemd systemd
|
||||||
# Separate from above only to not modify order, to avoid mass rebuilds; merge this with the above at next big change.
|
# Separate from above only to not modify order, to avoid mass rebuilds; merge this with the above at next big change.
|
||||||
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-dbus"
|
"--enable-dbus"
|
||||||
"--enable-pam"
|
"--enable-pam"
|
||||||
"--with-dbusdir=${placeholder "out"}/share/dbus-1"
|
"--with-dbusdir=${placeholder "out"}/share/dbus-1"
|
||||||
] ++ optional (libusb != null) "--enable-libusb"
|
] ++ optional (libusb1 != null) "--enable-libusb"
|
||||||
++ optional (gnutls != null) "--enable-ssl"
|
++ optional (gnutls != null) "--enable-ssl"
|
||||||
++ optional (avahi != null) "--enable-avahi"
|
++ optional (avahi != null) "--enable-avahi"
|
||||||
++ optional (libpaper != null) "--enable-libpaper"
|
++ optional (libpaper != null) "--enable-libpaper"
|
||||||
|
@ -25191,9 +25191,7 @@ in
|
|||||||
|
|
||||||
clinfo = callPackage ../tools/system/clinfo { };
|
clinfo = callPackage ../tools/system/clinfo { };
|
||||||
|
|
||||||
cups = callPackage ../misc/cups {
|
cups = callPackage ../misc/cups { };
|
||||||
libusb = libusb1;
|
|
||||||
};
|
|
||||||
|
|
||||||
cups-filters = callPackage ../misc/cups/filters.nix { };
|
cups-filters = callPackage ../misc/cups/filters.nix { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user