Fix build without the assistant.

This commit is contained in:
Joey Hess 2025-03-26 10:17:03 -04:00
parent fa39406077
commit dbc00906bf
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,7 @@ git-annex (10.20250321) UNRELEASED; urgency=medium
* updatecluster, updateproxy: When a remote that has no annex-uuid is
configured as annex-cluster-node, warn and avoid writing bad data to
the git-annex branch.
* Fix build without the assistant.
-- Joey Hess <id@joeyh.name> Fri, 21 Mar 2025 12:27:11 -0400

View file

@ -139,7 +139,7 @@ watchDir dir prune scanevents hooks runstartup =
runstartup $ Win32Notify.watchDir dir prune scanevents hooks
#else
type DirWatcherHandle = ()
watchDir :: FilePath -> Pruner -> Bool -> WatchHooks -> (IO () -> IO ()) -> IO DirWatcherHandle
watchDir :: OsPath -> Pruner -> Bool -> WatchHooks -> (IO () -> IO ()) -> IO DirWatcherHandle
watchDir = error "watchDir not defined"
#endif
#endif

View file

@ -60,3 +60,5 @@ of the setup in case they turn out to be relevant:
- `--ghc-options="-j$n +RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread"`
Full setup is at <https://git.kyleam.com/static-annex/>.
> [[fixed|done]] --[[Joey]]