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 YGhnKtXHql4PQQAA0tVLHw (envelope-from ) for ; Thu, 30 Apr 2020 12:43:01 +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 2O1MC9/Hql76YAAAbx9fmQ (envelope-from ) for ; Thu, 30 Apr 2020 12:43:11 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 607C4940776 for ; Thu, 30 Apr 2020 12:43:09 +0000 (UTC) Received: from localhost ([::1]:56112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jU8Wz-0000zO-2K for larch@yhetil.org; Thu, 30 Apr 2020 08:43:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39954) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jU8Wt-0000z2-1u for guix-patches@gnu.org; Thu, 30 Apr 2020 08:43:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jU8Ws-0002lf-CU for guix-patches@gnu.org; Thu, 30 Apr 2020 08:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jU8Wr-0002jG-W8 for guix-patches@gnu.org; Thu, 30 Apr 2020 08:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jU8Wr-0006sm-R4 for guix-patches@gnu.org; Thu, 30 Apr 2020 08:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40373] [PATCH] guix: new command "guix run-script" Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Apr 2020 12:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40373 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Konrad Hinsen Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 40373@debbugs.gnu.org Received: via spool by 40373-submit@debbugs.gnu.org id=B40373.158825057226439 (code B ref 40373); Thu, 30 Apr 2020 12:43:01 +0000 Received: (at 40373) by debbugs.gnu.org; 30 Apr 2020 12:42:52 +0000 Received: from localhost ([127.0.0.1]:45463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU8Wh-0006sN-U2 for submit@debbugs.gnu.org; Thu, 30 Apr 2020 08:42:52 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:33327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU8Wg-0006sA-Li for 40373@debbugs.gnu.org; Thu, 30 Apr 2020 08:42:50 -0400 Received: by mail-qt1-f193.google.com with SMTP id v26so4793508qto.0 for <40373@debbugs.gnu.org>; Thu, 30 Apr 2020 05:42:50 -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; bh=8D1P4NjY+AztmU3KTXCSLkyr3cuiVmpHLW+7i8FZffE=; b=KD/PAt8hhypmC5d7YO/7yU1BceVqTELC03OyE5CmJZzox3annLdCJz9P7QJI4bGLw/ ouDF4XfbrvZmJCZ3t1/zP2Y+i2L59zwEe8ccQzU9fqZ76wkGNo/H8v5DhTZ1Fl4aZSIM O9rwjRSwlkfsl5+DQm+kHvbFdEoZWIxcTwgcN+kWTI52Lzkw8RKvcWZ6adZKVF9TYxe6 TfH/w0EA7jAyvT9DVIVedfL17FTGuQacSg6w5B8AbwFez4H7+Kb3ZP47JND9R3Ooc97S hb01M34G4schVlHnsucPUYYI0MMOcyYAh8x+gFaJfKWVii4hMTAGRpxeZUgGdIysH1Da huRg== 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; bh=8D1P4NjY+AztmU3KTXCSLkyr3cuiVmpHLW+7i8FZffE=; b=iY4WSSDqlPNYhQ45qTNDd7wiXM4mS46eQNKqNBCiAqLEV3UeReBWStr2SULOSoKU5/ 88lKwPYI9hbTqiTOUwtmU59ExP6Pp/wVwGwv/xrol09dqJ+YW4/tmgH8zVJeieJAvecH 99AzlPyjAjw/lTYkozkPrfpDY4FOC1DtAgSTGmVW+w6hfzmOU+Is8KaX01/R5caW6mfz uaPjU3NNT8wdi/n2x5s+1oq4lx2XFVvYRLq2Udxdvb7T41UaJNYz2upmsKKOZRfz/7EP RmmjYMeIzJRQpV4p6Pick3FMK8A8VB2ZFHmyGk7MKfn7rmgkalo6lxMbmACU/LHIk0Aw B+9A== X-Gm-Message-State: AGi0Pua7oebXfZsZPLHlZwGRCRuMS9Yru3Bm1+cjcIcpUzt7RS400Tov dJHHlRXeHLBWxECEu5zcWCzB/3YDNq6toszIR5s= X-Google-Smtp-Source: APiQypJ5o6tqhjliUeSo1oBEQrxTPthjZg88BOqkUg5TK/tEVvb4YduPSknVi2aFLOfql30LwcGUnM9PB6KvJJZFyMM= X-Received: by 2002:ac8:758a:: with SMTP id s10mr3446411qtq.217.1588250564938; Thu, 30 Apr 2020 05:42:44 -0700 (PDT) MIME-Version: 1.0 References: <875zeiudjm.fsf@gnu.org> <87mu7slwwh.fsf@gnu.org> <87mu7na8g6.fsf@gnu.org> In-Reply-To: From: zimoun Date: Thu, 30 Apr 2020 14:42:33 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 1.59 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=KD/PAt8h; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [1.59 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49433304661609]; MX_INVALID(1.00)[cached]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.17), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[gmail.com:-]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[fastmail.net]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[zimontoutoune@gmail.com,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[fastmail.net:email]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[40373@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: yNewvwx2cCPk Hi Konrad, On Wed, 29 Apr 2020 at 18:04, Konrad Hinsen wrote: > That's very clever! The weak spot is the P, as script evaluation does > not print anything. We could make it print the script's return code ;-) Hum? The usual REPL neither. :-) Quoting Wikipedia: "print function takes the result yielded by eval" but from my understanding 'eval' does not always yield a "printable" result, e.g., "(define foo 42)". Cheers, simon