input-output-hk / tullia

Standard library and CLI for Cicero
Apache License 2.0
10 stars 5 forks source link

Track several error of the tasks #9

Closed GTrunSec closed 2 years ago

GTrunSec commented 2 years ago

fixes several issues:

tullia run hello                                                                                    
warning: Git tree '/home/gtrun/ghq/github.com/input-output-hk/tullia' is dirty                                           
[✗] error  hello       1.395398969s                                                                                      
[E][2022-10-20T17:24:52+0000][1] void subproc::subprocNewProc(nsjconf_t*, int, int, int, int, int)():205                 
execve('/nix/store/b6nhjfv8yvnf3m66bv8r0qvyn25fkl60-hello/bin/'hello'') failed: No such file or directory    
GTrunSec commented 2 years ago
dermetfan commented 2 years ago

Sorry for reading improperly and making you change this twice :sweat_smile: The rest looks good now though!

GTrunSec commented 2 years ago

I still don't know how to deal with the This usually means it ran out of memory: exit status 137 problem in nsjail. @dermetfan Could you help me to solve it?

dermetfan commented 2 years ago

I thought maybe the size of the tmpfs used for /tmp was too small so I pushed a commit to your branch that allows to adjust it. But unfortunately that does not seem to be the problem.

GTrunSec commented 2 years ago

accept-flake-config = true Whether to accept nix configuration from a flake without prompting.

I think we should add this option as default in the nixConf.