avoid unix-compat's rename

On Windows, that does not support long paths
https://github.com/jacobstanley/unix-compat/issues/56

Instead, use System.Directory.renamePath, which does support long paths.

Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
Joey Hess 2022-07-12 14:53:32 -04:00
parent bad39cadc6
commit 2d65c4ff1d
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
18 changed files with 75 additions and 20 deletions

View file

@ -294,10 +294,11 @@ source-repository head
custom-setup
Setup-Depends: base (>= 4.11.1.0), split, unix-compat,
filepath, exceptions, bytestring, directory, IfElse, data-default,
filepath, exceptions, bytestring, IfElse, data-default,
filepath-bytestring (>= 1.4.2.1.4),
process (>= 1.6.3),
time (>= 1.5.0),
directory (>= 1.2.7.0),
async, utf8-string, transformers, Cabal
Executable git-annex
@ -319,7 +320,7 @@ Executable git-annex
unix-compat (>= 0.5),
SafeSemaphore,
async,
directory (>= 1.2),
directory (>= 1.2.7.0),
disk-free-space,
filepath,
filepath-bytestring (>= 1.4.2.1.1),