unofficial mirror of gwl-devel@gnu.org
 help / color / mirror / Atom feed
From: Olivier Dion via <gwl-devel@gnu.org>
To: gwl-devel@gnu.org
Subject: Running hello tutorial in container
Date: Tue, 19 Apr 2022 17:24:29 -0400	[thread overview]
Message-ID: <87h76o9376.fsf@laura> (raw)

Hi,

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"))'.
run: 1.56 Executing: /bin/sh -c /gnu/store/dzm1alcp1x8b0i0k7xyjwmi4jwvxr0g9-gwl-eat-fruit-container.scm '((inputs) (outputs) (values) (name . "eat-fruit"))'
Backtrace:
           1 (primitive-load "/gnu/store/xc37y4crxjmi5pzhxvzsn3gc47h?")
In ice-9/eval.scm:
    619:8  0 (_ #(#(#<directory (guile-user) 7efe6e8e6c80> ("/gn?"))))
------------------------------------------------------------

I'm using gwl from commit bf1e701c610951bec93b2e49d186264100486847.

Is /gnu/store correctly exposed to the container?

-- 
Olivier Dion
oldiob.dev



             reply	other threads:[~2022-04-20  0:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-19 21:24 Olivier Dion via [this message]
2022-04-22 18:16 ` Running hello tutorial in container Ricardo Wurmus
2022-04-22 18:24   ` Ricardo Wurmus
2022-04-22 18:42     ` Olivier Dion via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.guixwl.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h76o9376.fsf@laura \
    --to=gwl-devel@gnu.org \
    --cc=olivier.dion@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).