fixing string issue

This commit is contained in:
2024-10-20 21:54:14 +01:00
parent 182f7fb10f
commit 7855859c3a
2 changed files with 6 additions and 2 deletions

View File

@@ -243,7 +243,7 @@ optsToCLI = concatMap _optToCLI
_optToCLI :: CLIOpt -> CLIOptsInput
_optToCLI MkEmptyOpts = []
_optToCLI (MkOptAtomic o) = [o]
_optToCLI (MkOptTuple (o, v)) = [o, show v]
_optToCLI (MkOptTuple (o, v)) = [o, v]
spawnProcP2Prc :: CLICmd -> [CLIOpt] -> IO ProcessHandle

View File

@@ -69,7 +69,11 @@ executable p2prc-haskell
other-extensions: OverloadedStrings
-- Other library packages from which modules are imported.
build-depends: base, text, aeson, process, bytestring
build-depends: base
, text
, aeson
, process
, bytestring
-- Directories containing source files.
hs-source-dirs: app