treewide: stdenv.lib -> lib
This commit is contained in:
@@ -76,7 +76,7 @@ python2Packages.buildPythonApplication {
|
||||
reportlab
|
||||
usbutils
|
||||
sip
|
||||
] ++ stdenv.lib.optionals withQt5 [
|
||||
] ++ lib.optionals withQt5 [
|
||||
pyqt5
|
||||
];
|
||||
|
||||
@@ -108,9 +108,9 @@ python2Packages.buildPythonApplication {
|
||||
--with-systraydir=$out/xdg/autostart
|
||||
--with-mimedir=$out/etc/cups
|
||||
--enable-policykit
|
||||
${stdenv.lib.optionalString withStaticPPDInstall "--enable-cups-ppd-install"}
|
||||
${lib.optionalString withStaticPPDInstall "--enable-cups-ppd-install"}
|
||||
--disable-qt4
|
||||
${stdenv.lib.optionalString withQt5 "--enable-qt5"}
|
||||
${lib.optionalString withQt5 "--enable-qt5"}
|
||||
"
|
||||
|
||||
export makeFlags="
|
||||
@@ -136,7 +136,7 @@ python2Packages.buildPythonApplication {
|
||||
# Running `hp-diagnose_plugin -g` can be used to diagnose
|
||||
# issues with plugins.
|
||||
#
|
||||
postInstall = stdenv.lib.optionalString withPlugin ''
|
||||
postInstall = lib.optionalString withPlugin ''
|
||||
sh ${plugin} --noexec --keep
|
||||
cd plugin_tmp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user