another windows build fix

This commit is contained in:
Joey Hess 2025-01-24 16:33:26 -04:00
parent f16604d2c8
commit 3474aca3fc
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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