From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0YDnGQiKx141KgAA0tVLHw (envelope-from ) for ; Fri, 22 May 2020 08:15:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KKx6FQiKx16IeAAAbx9fmQ (envelope-from ) for ; Fri, 22 May 2020 08:15:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 01D41940980 for ; Fri, 22 May 2020 08:15:03 +0000 (UTC) Received: from localhost ([::1]:39014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jc2pa-0003QI-V8 for larch@yhetil.org; Fri, 22 May 2020 04:15:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jc2pT-0003QA-VL for help-guix@gnu.org; Fri, 22 May 2020 04:14:55 -0400 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:34156) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jc2pS-0007uu-Ty for help-guix@gnu.org; Fri, 22 May 2020 04:14:55 -0400 Received: by mail-qk1-x72b.google.com with SMTP id 190so10003355qki.1 for ; Fri, 22 May 2020 01:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=9X3EKaO8DZyCBLWkYzQwV0H0FnAg8fzSoGZqgXUMK+g=; b=BhHi432kVueS5YHBjyoNcOxUP3FAi6VTWbU+Qe9wvZ83QpvqLa3+ZXp0f4ZvmYkWpD qdXOBDk0tCnED56Z7UAjpLLLCyUwtrCDxrRITw6e1winy4z1Y+FhHMt6xA3vR10zi3KT XolGcexKKa0xDkKdcCMOkF1v+mt5atuRKGvPZuhua9avdI1Z9KwLAVklZT1TyC7H04Cu U90ZEBtD8Aj+TxZEd4+Qoq/XDMdeLeZrVL7AeNu/g/SD/e9IDiQX9UPAY48xH2PRDKf0 /R8TprFlnjxZZ7M/0HMdLBM68LNXAEDsrhN1tSF1z2YDBlMriKR6ve+ec/didpIT5WEp KQzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=9X3EKaO8DZyCBLWkYzQwV0H0FnAg8fzSoGZqgXUMK+g=; b=K1yv7N3UgduZo5vsfecFgz0C8YrTnLq0y6xxGMGDElXy09meTamf9TRTz1nEwhermQ u2WbuvgKGNUV5R5xMRbI5XNHaTqMg7OkzAbe7UDnwLWThWf2W/66LyDPkEa6FG9MW4Fr /eAQ1JeRgNhfu6+0I4Jtcja3JDYp4Ia4k6sRs9OTOzlZJTS1xxCw1gHyv3I2hMuzBY9V IxmJeJHIbqQm/9gxXe+NEjUKgDcUpDcgKSDWbW9mW9mTMdeHqgJoHkKeW6PtMdGfU8PY V3enC3qun/iQ3/KdOMhs1lG5xf2ClDfAMjedwazEEGQDpnmivGP2FOHxGNKTtcAMictU IUZA== X-Gm-Message-State: AOAM533ZqNJ5gx47H6B23FIThfLL67BuZ49RoTkPvLUz1oP9LMxy1xb+ pbTdNbqQbxRIipO76S2RnNBHDQCkC2+93jGToQo= X-Google-Smtp-Source: ABdhPJza8ah+Ho+GcK9fyYMhkQn2dVlA6tM+qIlxj69KP08mbeMQN8pdQsIJIC7SRpHcNhNSaMGzrQ6GB5hFRUeEJO0= X-Received: by 2002:ae9:f214:: with SMTP id m20mr13792082qkg.232.1590135293835; Fri, 22 May 2020 01:14:53 -0700 (PDT) MIME-Version: 1.0 References: <17234059da3.b5e01d1e8240.9032082708652182693@zoho.com> <878shla245.fsf@devup.no> <17238fa6f3f.1085042d523521.3962992471488424781@zoho.com> <87tv0980yc.fsf@devup.no> In-Reply-To: From: zimoun Date: Fri, 22 May 2020 10:14:42 +0200 Message-ID: Subject: Re: Appropriate way to use Guix API from a Guile program To: Konrad Hinsen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::72b; envelope-from=zimon.toutoune@gmail.com; helo=mail-qk1-x72b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Help Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=BhHi432k; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: UpNvEpIvHb1v Hi Konrad, On Fri, 22 May 2020 at 09:43, Konrad Hinsen wr= ote: > Thanks for the reminder that my "guix repl" patch needs more work - it > should accept command line arguments for the script. Something like > > guix repl foo.scm =E2=80=93- [ARGS] > > should be easily doable, and fits in with existing conventions. It could be really cool! :-) Aside the use cases like './show-dependencies.scm' from your blog entry [1], it could be also a good way to easily experiment with new CLI. [1] https://guix.gnu.org/blog/2020/reproducible-computations-with-guix/ All the best, simon