From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SKzxLe/3OGXgUwAAG6o9tA:P1 (envelope-from ) for ; Wed, 25 Oct 2023 13:11:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SKzxLe/3OGXgUwAAG6o9tA (envelope-from ) for ; Wed, 25 Oct 2023 13:11:43 +0200 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 448985F613 for ; Wed, 25 Oct 2023 13:11:43 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="cx/O6jBM"; 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=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698232303; 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=Im3mGJ0UQp+CJZfc7Hymt6V92n84htBIkNR/W0uHAx8=; b=D4NObpcRRDjrzKyil/55ZuifF5SVWPCWEYLbBGgR0mw49q6n8i+5KN9eIV6ninQF6Se66K cXAmMKTjvtoc4oxIZPnzls3tjSsTNBTPY2MOXAiDH+HVNmjMZhQpaRuFan2+Qd92pZ+ONK GiXJnkmY6ttPikj+/qAOfzqKMpmGq1QV95rHBioinbk/SD7jv/JXT/MwfgPDhbNKXsgiBO 71l+4I8EeAPCco2sj5a4xwqPl9+mpdbfE1tJ62zfLKAhipk9bD0tFmOldo0Y6on3quuTak Aw6HVM3rsI6efpy3+uubMol5gRRCqUX2jlZZeEcMwEmAHXqBCZCDmik9MuwpSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="cx/O6jBM"; 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=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698232303; a=rsa-sha256; cv=none; b=MXu0QSOZ+38eTp3Wb8XC1yUI+4pPwldMVjAkFq4kzXu/K/8TGaSymzjw7gd91kobIQM7h1 1LUqS8ZQSTx0fPXgHqnVmCSn0JfN4MOg5sVZj48XNjuk+ur5z5kGx994aAtNmS92YIeBxP 8HY5LhOXiltwTbBE/g7Jf0rDxHApLcZoN2Vk9rXTAzhTfl96OOKnUBMavNwNZT+bM2Yor8 2KkhFyOyy2/WkoxD+ej0J0WEehQZK5ob3aNew6RqW6Z7v9wMwH2d2qkvrjdWYxtZU4k07z hu9nms4RbYxYX4BzYFmHYJfKoZiJcQ2iVd40j2wWDqph6qqOkMsHQ9F2vGzecw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvbmw-0002s2-5K; Wed, 25 Oct 2023 07:11:02 -0400 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 1qvbms-0002r3-KN for guix-devel@gnu.org; Wed, 25 Oct 2023 07:10:58 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvbmr-0004tv-4N for guix-devel@gnu.org; Wed, 25 Oct 2023 07:10:58 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-408cd9660b8so9681115e9.1 for ; Wed, 25 Oct 2023 04:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698232255; x=1698837055; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Im3mGJ0UQp+CJZfc7Hymt6V92n84htBIkNR/W0uHAx8=; b=cx/O6jBMWrxs4oDUIN2wAdLIz3iJeD0b+wHT4w58tg7pp+F/Edxv03k3f2eXNKCYLW 15Ym8FnsWhajAJcQMjoPjZEOPslbzer/otfmXZpmPO2UScLR/q5i8dSX6kL0HCDTC0bu rPKSdwR8gyb74THN9xHq40QFNkTS7m5mdkxF5MSQ2Os+5hI3bAL6jDtBLfo91IpiNuoB lEjcdgxHE7hw6UxRklgV6nHsaPg3HHAf9iFD4xxqX1hQ7BCklICaGGfMYhu1p7QpkEOP Q1EzRiFC8WMCE/gD2BQZuf7Be8vUegUi5nk39YqGkmx5YVc6fwW3ADaavPzMQF3l0tBP WP+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698232255; x=1698837055; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Im3mGJ0UQp+CJZfc7Hymt6V92n84htBIkNR/W0uHAx8=; b=SnwDK2lsFRza5twQLMC4Stxoh122dXkcTLQ3ynnqJtqsfv0oZ16iPwcBB3xuCuSGkB xZZL0VWbBwmJ1QVzpQDeVayzBTqXCPTbIjiaaSo+zpbJ8XomXjY8EmHtl5NxCGhSplhW 8I69HdqxInwbz8j6QKay9X4ahEsulY3vXhV/LbX6QmttwIglADXusxjCc/0EQe+XCYPx y1IT6yFLxSaVMMROZdx69XAHKLOWhJKoCy++IpiEQuOp74wNgte3GR5Smn9MIMG9cLRK xQxI+qQK1F7xwuNyEwVo7GYSj6xqGtt7zgfdhAk2DYzIuFmy6+eJjHXJSJ9dnBdvhF/u OULw== X-Gm-Message-State: AOJu0YwJ68bhZW4INNLwVykxAKi+0rfoV2qREhl/c5a/30PkfiuFG1iK CSWbveSFt4/50CRoH1llO3HzDnen6M4= X-Google-Smtp-Source: AGHT+IG/fscprhwimOo1THNYkPLc+bt3aPhLxW/nUVtjQXIHjEzIWLZWurAwx2cCjTwhAnX5nQoSlQ== X-Received: by 2002:adf:e806:0:b0:32d:e445:ff02 with SMTP id o6-20020adfe806000000b0032de445ff02mr11318692wrm.1.1698232255619; Wed, 25 Oct 2023 04:10:55 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id m21-20020a056000181500b003271be8440csm11840409wrh.101.2023.10.25.04.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 04:10:55 -0700 (PDT) From: Simon Tournier To: jgart , guix-devel@gnu.org Subject: Re: guix shell init In-Reply-To: <9b5b104b15a758a517ad3a921b152a17@dismail.de> References: <9b5b104b15a758a517ad3a921b152a17@dismail.de> Date: Wed, 25 Oct 2023 13:10:50 +0200 Message-ID: <86bkcnc5z9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x332.google.com 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_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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -9.39 X-Spam-Score: -9.39 X-Migadu-Queue-Id: 448985F613 X-TUID: J0bHq4h3mpGW Hi, On Wed, 25 Oct 2023 at 02:24, "jgart" wrote: > What if we had a command like `guix shell init`. > > It would create a basic manifest.scm or guix.scm file for the user. Is guix shell --export-manifest not already doing that? And =E2=80=9Cguix package --export-channels=E2=80= =9D is similar for the channels.scm file. Well, we could have a command somewhere for exporting both. Maybe. Following the idea, you would like: guix shell --init=3Dpython that generates some guix.scm and channels.scm file where the guix.scm would be a template for building Python some project. Right? Cheers, simon