From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QDu5EaDnCGX1KAAA9RJhRA:P1 (envelope-from ) for ; Tue, 19 Sep 2023 02:13:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QDu5EaDnCGX1KAAA9RJhRA (envelope-from ) for ; Tue, 19 Sep 2023 02:13:20 +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 370F05B79D for ; Tue, 19 Sep 2023 02:13:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=PZRk6Vw9; dmarc=pass (policy=none) header.from=riseup.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695082400; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lxNRwvDjALrr4BySXQS1dF+XByUE/wIpxJ84/nlEUDg=; b=rqd6YlqXK+aMceRyv0WGlsDyP7RUO4GRj3I8B1l000ykIXHIxLUmMY0wZaYFhr65rj5YYI ROTRaGhIX9HtJK0IeOSPDQD61QQYa15CB2x6DxoAIqZbU93dWAAE+DqJaPlTLYn79IdtOe kIyZkHWwE2DWNjQJv0ebibVRUhd5q+PDa4SONEcIhbq/j+pehyehhYH8PfMWKfcx5Yq7fn Wddmm4EyxHQkgkcVdFuDrTPtYO40pRDGUFPXC7vShbLAkJB+JSG3nPiJPAsNXczKSvBQJq qrk94q4nA/UX3oPK8xQU5yZtdWpgKhA+VEYmDwwWjCgZ5qmGMltHTr6ZC96TDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695082400; a=rsa-sha256; cv=none; b=cayIawUPpay90ktmjcH3jSADViSaMCbi0pNvAqsGm/+Q4BAy96Fvc08BYmd2anOcWzMwyX CKbmBI4ta2CBDEy6w0cnrGoeI19VF3vrV4LI5tKqBon4Ev8X2/y/XWIxu307dy3dxWEmuK +dF+6yy1sJaZIVr8sLpo8VZs1CIcjajZRRc4op1X42RQK4Yq7Ij+mvec1Y+nstKKt4U9rD 3RCo6t3hsVzifngFlaI6c+tC04ZQMZmIoIprzMqYwIIUUhAZC9+lpzp4pnR+Lo0SfiL2SU BXGkDna4REXx57jAa62CkEZK7r3U/QCWUcqSuCoQ1tdkhGjVCW6rWFVlnSX2yQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=PZRk6Vw9; dmarc=pass (policy=none) header.from=riseup.net; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiOMI-0005cG-7e; Mon, 18 Sep 2023 20:12:54 -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 1qiOMH-0005c6-Cq for guix-devel@gnu.org; Mon, 18 Sep 2023 20:12:53 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiOMF-0000NS-9W; Mon, 18 Sep 2023 20:12:53 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4RqMYr0d3SzDqpr; Tue, 19 Sep 2023 00:12:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1695082368; bh=G2aWIh9XjmMXsk9t25HtZge3gRFM2E/Gs6xtv34OvM4=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=PZRk6Vw9Mfiybr5fIQ2/3cMGqketfBIWPRfuJJNsU+AvFzL148AhVe1yzVQn7st/m 48V/qgI5aXE7HgLBVkVTquZMXP1WtoKgvDwG2KEG7dpBKYAhI0BYhuLHz6ZWGbLQXw 8bXNp8RwQ3qOlAN59KBhTCw6a575SObYyj/b9Q3I= X-Riseup-User-ID: EE847C670C7FC25E872D4D225264702D13612AE277E6DA0DC788036DE3765B28 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4RqMYq2WjTzJnD3; Tue, 19 Sep 2023 00:12:47 +0000 (UTC) References: <87pm38bas8.fsf@riseup.net> <875y4df629.fsf@gnu.org> From: Distopico To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Subject: Re: Guix CLI options through manifest.scm or guix.scm Date: Mon, 18 Sep 2023 19:12:16 -0500 In-reply-to: <875y4df629.fsf@gnu.org> Message-ID: <87r0mvc96v.fsf@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=198.252.153.129; envelope-from=distopico@riseup.net; helo=mx1.riseup.net 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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-Spam-Score: -6.65 X-Spam-Score: -6.65 X-Migadu-Queue-Id: 370F05B79D X-Migadu-Scanner: mx0.migadu.com X-TUID: l5B2hfFVIvdP --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2023-09-14, Ludovic Court=C3=A8s wrote: > Hi, > > Distopico skribis: > >> Is it possible to define/express CLI options from manifest.scm or >> guix.scm? For example, I have >> >> ``` >> guix shell \ >> -m manifest.scm \ >> --container -F -N -P \ >> --share=3D/opt/android-sdk \ >> --share=3D$HOME/.android/avd \ >> --share=3D$HOME/.gradle/ \ >> --preserve=3D'^DISPLAY$' \ >> --preserve=3D'^XAUTHORITY$' \ >> --preserve=3D'^DBUS_' \ >> --expose=3D$XAUTHORITY \ >> --expose=3D/var/run/dbus >> ``` > > There are two things relevant to =E2=80=98guix shell=E2=80=99: (1) what p= ackages go > inside the environment, and (2) how the environment is built (container > vs. pure, networking or not, etc.). > > The manifest only takes care of #1. > > We need a non-CLI way to express #2. I don=E2=80=99t think manifests are= a good > fit for that; perhaps we need a new abstraction, which > might mean we need a new =E2=80=98environment.scm=E2=80=99 file or simila= r. > > Anyhow, I agree that something=E2=80=99s missing here. > > Thanks, > Ludo=E2=80=99. Aren't there many variations/types of files? But still, it would be ideal to configure it. Perhaps 'envrc.scm' could be another option. Best! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEEvYwofabWO6y953lVmAk6gHJUa/MFAmUI53gVHGRpc3RvcGlj b0ByaXNldXAubmV0AAoJEJgJOoByVGvzRCQH/iZNtgeEzPNv9RpKmj+Wfnbp4v6N V0P6tgT2OsLCOlRfZYvc8v5nEUf47HfgITSlXUV6oX0yOVY27zH4/zTvRxjdUq8u MTtyPgToZrQjZhQpqma6F1nYHrlPVCuQItd3lXbs4rVqRQl89+vtqwv5V3K3WQyD Sh0aq8v1dzCZQiI+6owqIdBLjoALcSoDee0YqNQAi66XcnDp48tgrbn9BDbQUDzw 2hXTUvvsJ6Gw9385n5UCLvNFjI8SNCI8w1B0XzAHEFiA/keRAKvDQ+74c9Emfb5B ZjOQl58sxS5ymd3gZUFrMnDMOu8ogA9yAmyEumbAxF/xC87cDqc4kpOYqSA= =KIQu -----END PGP SIGNATURE----- --=-=-=--