From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uO6TOFFGq2OzXwAAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 20:24:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gLq/N1FGq2MRdgEAG6o9tA (envelope-from ) for ; Tue, 27 Dec 2022 20:24:01 +0100 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 8B5DC2BB75 for ; Tue, 27 Dec 2022 20:24:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAFXr-0003Y6-AS; Tue, 27 Dec 2022 14:23:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAFXo-0003Xs-1i for guix-devel@gnu.org; Tue, 27 Dec 2022 14:23:24 -0500 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAFXm-0000as-69 for guix-devel@gnu.org; Tue, 27 Dec 2022 14:23:23 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 346cb3be; Tue, 27 Dec 2022 20:23:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:in-reply-to:references; s=20190914; bh=F3 6QQaV/14RPKWr5+HEJEV8Oukzp+TTDjanxTxZYLvg=; b=Xae9kr0Sf7OWKeuMgR lBcgcVlmxuhXxdnvStGGnEK8Wu+sO4HC+MpdIZdq0m7L8NNVuy4LyyiM782DcPzM msvSHMSATQosABtyJhPT9Srf5s3oih25Fkrtj63R8G9EIQezyhHy1Ywg8P16/cmk 82SskOCuBF6/BKHBsuYgc/F/kBF4LLrnV9yPDKxu9GvefcofvCDt2vRubUN+qCI8 ic8Dr8x6tYr5aulfr/vy1mibUuRVptP+bkudzJFtqtP5wW0Sa2ld3d53MyQ6DtT7 MeGn2VTSaBxlhkKakhpXh2riLuCdod94a2ph9/CDkNFck+Ygisx97VzIKbgYHPE2 mJUA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 84987782; Tue, 27 Dec 2022 20:23:18 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 9e843edc; Tue, 27 Dec 2022 20:23:18 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 8eba468e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 27 Dec 2022 20:23:18 +0100 (CET) MIME-Version: 1.0 Date: Tue, 27 Dec 2022 19:23:18 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.16.0a From: "jgart" Message-ID: <5706580cffe4acd70e7a790ff7df810b@dismail.de> Subject: Re: Should Guix support writing CLI Common Lisp scripts? (Think Roswell) To: "John Kehayias" , guix-devel@gnu.org In-Reply-To: <87r0wkk8kx.fsf@protonmail.com> References: <87r0wkk8kx.fsf@protonmail.com> <24871675f2ccdf7f3c46c46832b3f3f9@dismail.de> Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672169041; a=rsa-sha256; cv=none; b=YFhI5UjW80I5RGMOofuxcmHtXschltBbjuMk4eHAmcbwUfyDAXowQIX5sRbT+dcSgrR85E 8q2BynRdcfztuWMEcfAaWPvXKWovodHWA2NvyW+dw4MaugAdxaxS8tYuR4yRcyYQlUhwHk PZOBW+W3Dcei6/nPwnhMZGtt4OVeOKcKtaLltBLksIDpooGImUOFypz+rk3yjjpGFwXSEc vbKWFqbNtuJjf4YSxlruHxxJqmw2dy0wh7k9yIFhVw3F+ARIAzN5KInV2yHlCUNV8wet1A MfcfwUAwXKP8dnZ6cLgeGteLLtJHH9jItL3UkMCO1X1gex/0JNUWyiD8MqDVBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=Xae9kr0S; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=dismail.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672169041; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=F36QQaV/14RPKWr5+HEJEV8Oukzp+TTDjanxTxZYLvg=; b=gW6+HRUDTalKK1DoZmmODUSLUoO6rkcPVLBuIr8mI0H8zXvgATCwaUuU0db4LEWUQf05+x /1ktEU/T9cwBLno2DY5TpACOVqpKQKMITVw/fTetUni/BAOzQBaIjnUdIuWYCVE3k2b3U0 C9h8b9he/Aj5N/ts9AOt2rDLsFhUfjkmv9ufrolo1Eg4BX5fx3nrT4KyOmoueNyGMShSuh PuJXMoFA3/uWGLV+Yko7TxgcGNjSa+YzaQO/SRICmTsVDpYOGU1vYX04X9eo/zkMVlANAb vhe+roLt9PFaG9kHo5ghTQrDKrDON2WusQR7W0QKEUhRi5yK8wSHQsDut/qQrQ== X-Spam-Score: -7.38 X-Migadu-Queue-Id: 8B5DC2BB75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=Xae9kr0S; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=dismail.de X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.38 X-TUID: 7prkYSoAaTic > I'm not sure what you mean if it is something beyond what we can do alr= eady with 'guix shell.' Do > you mean using a particular hashbang as well?=20 Yes,=20that is one feature that I was nodding ambiguously at. Sorry > guix shell sbcl sbcl-cl-csv unoconv -- sbcl --load myscript.lisp ~/Down= loads/*.xlsx That command is too long. What Roswell does is create binaries and instal= ls them in your PATH for your usage like a traditional script that you ca= n call without also having to call the interpreter in your terminal invoc= ation. I want to type just the following and have `myscript` be an executable pr= ogram available in my `guix home` environment: > myscript ~/Downloads/*.xlsx I want an automated way to prepare the script for that command line user = experience. That is the convenience that roswell provides. I agree that i= s is sweet sugar but I'm lazy and don't want to type long CLI invocations= . Thanks for sharing the above though. It's great to see how people are using `guix shell`. Given what I said, I might just do what you're suggesting John, because I= 'm not sure when I'll be able to implement a solution like the roswell on= e in Guix. Thanks for your thoughts on the topic. They are appreciated. all best, jgart