treewide: remove lib.{lists,string}.optional*

This commit is contained in:
Sandro Jäckel
2021-07-29 14:15:12 +02:00
parent 9f4fe8201b
commit 14af34c2f4
8 changed files with 12 additions and 12 deletions
@@ -61,7 +61,7 @@ in buildPythonPackage rec {
(setuptoolsBuildHook.override{setuptools=null; wheel=null;})
];
preBuild = lib.strings.optionalString (!stdenv.hostPlatform.isWindows) ''
preBuild = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
'';
@@ -62,7 +62,7 @@ in buildPythonPackage rec {
(setuptoolsBuildHook.override{setuptools=null; wheel=null;})
];
preBuild = lib.strings.optionalString (!stdenv.hostPlatform.isWindows) ''
preBuild = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
'';