treewide: remove lib.{lists,string}.optional*
This commit is contained in:
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = lib.strings.optionalString (!stdenv.hostPlatform.isWindows) ''
|
||||
installPhase = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
|
||||
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
||||
'' + ''
|
||||
# Give folders a known name
|
||||
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = lib.strings.optionalString (!stdenv.hostPlatform.isWindows) ''
|
||||
installPhase = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
|
||||
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
||||
'' + ''
|
||||
# Give folders a known name
|
||||
|
||||
Reference in New Issue
Block a user