Merge pull request #224705 from baloo/baloo/python3Packages.testpath/fixup
python3Packages.testpath: fixup optional -> optionalString
This commit is contained in:
commit
eff9cff541
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user