From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:32792) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3hHX-0005I2-7r for gwl-devel@gnu.org; Mon, 17 Feb 2020 09:21:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3hHW-0000Kf-1z for gwl-devel@gnu.org; Mon, 17 Feb 2020 09:21:55 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21184) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j3hHV-0000JI-KT for gwl-devel@gnu.org; Mon, 17 Feb 2020 09:21:54 -0500 References: <87blpxo7p9.fsf@jlicht.xyz> From: Ricardo Wurmus Subject: Re: How to get started using GWL 0.2.0 In-reply-to: <87blpxo7p9.fsf@jlicht.xyz> Date: Mon, 17 Feb 2020 15:21:44 +0100 Message-ID: <875zg5mgzr.fsf@elephly.net> 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: Jelle Licht Cc: gwl-devel@gnu.org Hi Jelle, thanks for giving the GWL a try! > 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-= ccache:$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 > :). Yeah, this is an issue that caused me sleepless nights. It=E2=80=99s somet= hing I=E2=80=99ve been discussing for some time online and offline, and it=E2=80= =99s on the TODO for the next release. It is not clear yet how to properly insulate the GWL from Guix. The switch from Guile 2 to 3 is a good example of the problem we=E2=80=99re facing as we try to extend Guix. > 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': [=E2=80=A6] Oh, I=E2=80=99m sorry! This is a bug. The code was supposed to pass a lis= t of mapped input files to a procedure, but it accendentally just passed a boolean. That=E2=80=99s clearly incorrect. I=E2=80=99m going to fix this s= oon. So I suppose we=E2=80=99ll see a 0.2.1 release soon=E2=80=A6 Sorry about t= hat! -- Ricardo