Updating the test pipeline to work with daemon arguments, refactoring the haskell code.

1 job for master in 9 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
failed #16060
integration
integration.test

00:00:09

 
Name Stage Failure
failed
integration.test Test
/tmp/nix-shell-16771-0/rc: line 1: ./argotk: No such file or directory
Uploading artifacts...
WARNING: cmd_out.log: no matching files
WARNING: cmd_err.log: no matching files
WARNING: daemon_out.log: no matching files
WARNING: daemon_err.log: no matching files
WARNING: time.log: no matching files
Uploading artifacts to coordinator... ok
id=16060 responseStatus=201 Created token=un98cCx-
ERROR: Job failed: exit status 1