OsPath transition Windows build fixes
This gets it building on Windows again, with 1 test suite failure (addurl). Sponsored-by: Kevin Mueller
This commit is contained in:
parent
9dc43396b3
commit
a149336a59
23 changed files with 58 additions and 62 deletions
|
@ -179,7 +179,7 @@ feedRead cmd params passphrase feeder reader = do
|
|||
go (passphrasefd ++ params)
|
||||
#else
|
||||
-- store the passphrase in a temp file for gpg
|
||||
withTmpFile (toOsPath "gpg") $ \tmpfile h -> do
|
||||
withTmpFile (literalOsPath "gpg") $ \tmpfile h -> do
|
||||
liftIO $ B.hPutStr h passphrase
|
||||
liftIO $ hClose h
|
||||
let passphrasefile = [Param "--passphrase-file", File (fromOsPath tmpfile)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue