added haskell build instruction

This commit is contained in:
2025-06-06 15:43:48 +01:00
parent 54a675e0c0
commit 4c7deb948f
5 changed files with 35 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ main =
p2prcAPI :: P2PRCapi
p2prcAPI =
MkP2PRCapi
{ startServer = spawnProcP2PRC p2prcCmdName [ MkOptAtomic "--s" ]
{ startServer = spawnProcP2PRC p2prcCmdName [ MkOptAtomic "-s" ]
, execListServers =
execProcP2PRCParser [ MkOptAtomic "--ls" ] MkEmptyStdInput

View File

@@ -116,5 +116,5 @@ eitherErrorDecode esa =
-- assumes the program is ran inside the haskell module in p2prc's repo
-- assumes that last path segment is "haskell" and that p2prc binary's name is "p2p-rendering-computation"
p2prcCmdName :: String
p2prcCmdName = "p2prc"
p2prcCmdName = "p2p-rendering-computation"