Merge pull request #224705 from baloo/baloo/python3Packages.testpath/fixup

python3Packages.testpath: fixup optional -> optionalString
This commit is contained in:
Arnout Engelen 2023-04-05 09:45:51 +02:00 committed by GitHub
commit eff9cff541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ buildPythonPackage rec {
# exe are only required when testpath is used on windows
# https://github.com/jupyter/testpath/blob/de8ca59539eb23b9781e55848b7d2646c8c61df9/testpath/commands.py#L128
preBuild = lib.optional (!stdenv.targetPlatform.isWindows) ''
preBuild = lib.optionalString (!stdenv.targetPlatform.isWindows) ''
rm testpath/cli-32.exe testpath/cli-64.exe
'';