treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-16 17:58:11 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions
+4 -4
View File
@@ -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