From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56262) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3dBh-00087a-Gc for gwl-devel@gnu.org; Mon, 17 Feb 2020 04:59:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3dBg-0005jf-Aw for gwl-devel@gnu.org; Mon, 17 Feb 2020 04:59:37 -0500 Received: from mail1.fsfe.org ([2001:aa8:ffed:f5f3::151]:34220) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j3dBg-0005go-4s for gwl-devel@gnu.org; Mon, 17 Feb 2020 04:59:36 -0500 From: Jelle Licht Subject: How to get started using GWL 0.2.0 Date: Mon, 17 Feb 2020 10:59:30 +0100 Message-ID: <87blpxo7p9.fsf@jlicht.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+kyle=kyleam.com@gnu.org Sender: "gwl-devel" To: gwl-devel@gnu.org Hey GWL-hackers, Congratulations on the 0.2.0 release! After re-reading the info manual, but not understanding all parts, I keep running into the problem of not actually being totally sure on how to do some fairly basic things. How do I install GWL, while using a `guix pull'-managed guix (so with guile3.0)? As the `guix' that is a propagated input still uses guile2.2, this is not as simple as I had hoped it would be. Currently, I have the following wrapper in $HOME/.local/bin/gwl: --8<---------------cut here---------------start------------->8--- #!/usr/bin/env bash export GUILE_LOAD_PATH=3D$HOME/.guix-profile/share/guile/site/2.2 export GUILE_LOAD_COMPILED_PATH=3D$HOME/.guix-profile/lib/guile/2.2/site-cc= ache:$HOME/.guix-profile/share/guile/site/2.2 $HOME/.guix-profile/bin/guix workflow "$@" --8<---------------cut here---------------end--------------->8--- This wrapper seems to work for stuff like `gwl --help' and `gwl --prepare=3D'. I'd much rather prefer something less terribad though :). My other issue relates to actually running computations usings GWL. Given the following workflow file: --8<---------------cut here---------------start------------->8--- process hello-world # { echo "Hello, world!" } workflow do-the-thing processes hello-world --8<---------------cut here---------------end--------------->8--- I can run GWL to both prepare and graph my workflow, yet I get the following backtrace when trying actually `gwl --run=3D': --8<---------------cut here---------------start------------->8--- Backtrace: 10 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 9 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 8 (_ #(#(#))) In guix/ui.scm: 1813:12 7 (run-guix-command _ . _) In guix/scripts/workflow.scm: 155:24 6 (guix-workflow . _) In srfi/srfi-1.scm: 466:18 5 (fold # () #) 466:18 4 (fold # =E2=80=A6) In gwl/workflows.scm: 250:21 3 (_ # ()) 395:39 2 (_ # #:workflow _) In srfi/srfi-1.scm: 1000:10 1 (lset-intersection # _ ()) 1000:38 0 (_ ()) srfi/srfi-1.scm:1000:38: In procedure car: Wrong type argument in position = 1 (expecting pair): #t --8<---------------cut here---------------end--------------->8--- Thanks for any guidance, and feel free to point me to the right section of The Fine Manual that I simply misunderstood. - Jelle