gwl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running hello tutorial in container


From: Ricardo Wurmus
Subject: Re: Running hello tutorial in container
Date: Fri, 22 Apr 2022 20:16:27 +0200
User-agent: mu4e 1.6.10; emacs 28.0.50

Hi Olivier,

> I'm trying to run the following workflow in a container:
> ------------------------------------------------------------
> process greet
>   packages "hello"
>   # { hello }
>
> process sleep
>   packages "coreutils"
>   # {
>     echo "Sleeping..."
>     sleep 10
>   }
>
> process eat (with something)
>   name
>     string-append "eat-" something
>   # {
>     echo "Eating {{something}}"
>   }
>
> process bye
>   # { echo "Farewell, world!" }
>
> workflow simple-wisp
>   processes
>     define eat-fruit
>       eat "fruit"
>     define eat-veges
>       eat "vegetables"
>     graph
>       eat-fruit -> greet
>       eat-veges -> greet
>       sleep     -> eat-fruit eat-veges
>       bye       -> sleep
> ------------------------------------------------------------
>
> but I get many errors like this:
> ------------------------------------------------------------
> run: 1.49 Executing: /bin/sh -c 
> /gnu/store/z0kvv54isp0nb8ywrsjnwyp0im8hfp2g-gwl-greet-container.scm 
> '((inputs) (outputs) (values) (name . "greet"))'
> Backtrace:
>            1 (primitive-load "/gnu/store/ggza923skigkq628gm9zpxbi4h9?")
> In ice-9/eval.scm:
>     619:8  0 (_ #(#(#<directory (guile-user) 7f7dfdad5c80> ("/gn?"))))
>
> ice-9/eval.scm:619:8: Throw to key `match-error' with args `("match" "no 
> matching pattern" 
> ("/gnu/store/ggza923skigkq628gm9zpxbi4h9kmp73-gwl-greet.scm"))'.

Thanks for reporting this!

I haven’t investigated yet, but I’m pretty sure that’s due to the
container wrapper not passing its arguments to the script it wraps.
Should be easy to fix.

-- 
Ricardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]