From 3474aca3fc1619d1443725e9333340c0ba4ede80 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 24 Jan 2025 16:33:26 -0400 Subject: [PATCH] another windows build fix --- Utility/Gpg.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utility/Gpg.hs b/Utility/Gpg.hs index c7f5fe7644..5fe911528d 100644 --- a/Utility/Gpg.hs +++ b/Utility/Gpg.hs @@ -182,7 +182,7 @@ feedRead cmd params passphrase feeder reader = do withTmpFile (toOsPath "gpg") $ \tmpfile h -> do liftIO $ B.hPutStr h passphrase liftIO $ hClose h - let passphrasefile = [Param "--passphrase-file", File (fromOsPath tmpfile)] + let passphrasefile = [Param "--passphrase-file", File (fromRawFilePath (fromOsPath tmpfile))] go $ passphrasefile ++ params #endif where