From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55969) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKITe-0002wJ-S5 for guix-patches@gnu.org; Fri, 03 Apr 2020 05:19:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKITe-0004o6-09 for guix-patches@gnu.org; Fri, 03 Apr 2020 05:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57851) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jKITd-0004ns-Sz for guix-patches@gnu.org; Fri, 03 Apr 2020 05:19:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jKITd-0005bT-NS for guix-patches@gnu.org; Fri, 03 Apr 2020 05:19:01 -0400 Subject: [bug#40373] [PATCH] guix: new command "guix run-script" Resent-Message-ID: From: Konrad Hinsen In-Reply-To: References: <875zeiudjm.fsf@gnu.org> Date: Fri, 03 Apr 2020 11:17:58 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40373@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , zimoun Konrad Hinsen writes: > Could we go for "guix guile" and make it option-compatible with plain > Guile as much as possible? Just an idea, I am not sure it's a good one! > Guile can already be a pain in a shebang line. After some exploration, that kind of compatibility doesn't seem worth the effort. I will send another patch that implements Simon's proposal: - New command "guix run" that extends "guix repl" by an optional file argument for running a script. - "guix repl" becomes an alias for "guix run" (and could in the long run be declared obsolete). Cheers, Konrad.