mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
gutenprint: fix CUPS backend
The CUPS backend was not built since gutenprint requires libusb1, not 0.1 (at least since ~2014). With this change CUPS detects printers relying on the pure gutenprint backend (like some dye sublimation printers).
This commit is contained in:
parent
3434d6b0fd
commit
c413232fc8
@ -2,7 +2,7 @@
|
||||
{ stdenv, lib, fetchurl, makeWrapper, pkg-config
|
||||
, ijs, zlib
|
||||
, gimp2Support ? false, gimp
|
||||
, cupsSupport ? true, cups, libusb-compat-0_1, perl
|
||||
, cupsSupport ? true, cups, libusb1, perl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs =
|
||||
[ ijs zlib ]
|
||||
++ lib.optionals gimp2Support [ gimp.gtk gimp ]
|
||||
++ lib.optionals cupsSupport [ cups libusb-compat-0_1 perl ];
|
||||
++ lib.optionals cupsSupport [ cups libusb1 perl ];
|
||||
|
||||
configureFlags = lib.optionals cupsSupport [
|
||||
"--disable-static-genppd" # should be harmless on NixOS
|
||||
|
Loading…
Reference in New Issue
Block a user