hplip: use lib.optionals for clarity
This commit is contained in:
parent
612a0f248b
commit
729b764c53
@ -53,7 +53,10 @@ stdenv.mkDerivation {
|
|||||||
saneBackends
|
saneBackends
|
||||||
dbus
|
dbus
|
||||||
net_snmp
|
net_snmp
|
||||||
] ++ stdenv.lib.optional qtSupport qt4;
|
] ++ stdenv.lib.optionals qtSupport [
|
||||||
|
qt4
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
];
|
];
|
||||||
@ -65,7 +68,9 @@ stdenv.mkDerivation {
|
|||||||
recursivePthLoader
|
recursivePthLoader
|
||||||
reportlab
|
reportlab
|
||||||
usbutils
|
usbutils
|
||||||
] ++ stdenv.lib.optional qtSupport pyqt4;
|
] ++ stdenv.lib.optionals qtSupport [
|
||||||
|
pyqt4
|
||||||
|
];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
# HPLIP hardcodes absolute paths everywhere. Nuke from orbit.
|
# HPLIP hardcodes absolute paths everywhere. Nuke from orbit.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user