From 1fb69fe01c90490e36d90b03166375a4d6399f21 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 17 Feb 2025 14:04:08 -0400 Subject: [PATCH] OSX build fixes --- Assistant/Install.hs | 2 +- Assistant/Threads/Watcher.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assistant/Install.hs b/Assistant/Install.hs index c1827ae541..750b4a9adc 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -61,7 +61,7 @@ ensureInstalled = ifM (isJust <$> getEnv "GIT_ANNEX_PACKAGE_INSTALL") #ifdef darwin_HOST_OS autostartfile <- userAutoStart osxAutoStartLabel - installAutoStart program autostartfile + installAutoStart (fromOsPath program) autostartfile #else ifM osAndroid ( do diff --git a/Assistant/Threads/Watcher.hs b/Assistant/Threads/Watcher.hs index 1e38195cfe..33b63be694 100644 --- a/Assistant/Threads/Watcher.hs +++ b/Assistant/Threads/Watcher.hs @@ -165,7 +165,7 @@ ignored = ig . takeFileName | f == literalOsPath ".gitignore" = True | f == literalOsPath ".gitattributes" = True #ifdef darwin_HOST_OS - | f == literlosPath ".DS_Store" = True + | f == literalOsPath ".DS_Store" = True #endif | otherwise = False