From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GMWZFW8tzmJBgAAAbAwnHQ (envelope-from ) for ; Wed, 13 Jul 2022 04:26:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gH6bFW8tzmKeQAAA9RJhRA (envelope-from ) for ; Wed, 13 Jul 2022 04:26:55 +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 B666E39518 for ; Wed, 13 Jul 2022 04:26:54 +0200 (CEST) Received: from localhost ([::1]:51416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBS5V-0002uK-TS for larch@yhetil.org; Tue, 12 Jul 2022 22:26:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBS32-0002im-8d for guix-devel@gnu.org; Tue, 12 Jul 2022 22:24:20 -0400 Received: from out1.migadu.com ([91.121.223.63]:58119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBS30-0007iC-Ie for guix-devel@gnu.org; Tue, 12 Jul 2022 22:24:20 -0400 References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dominicm.dev; s=key1; t=1657679054; h=from:from: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; bh=95QBqxAi6OPfXWBITTori1p950DhSdhpwJjuAAhYaZI=; b=PYtN1YKReaeB4ltYmlkcBVBlkB0+2Ho9UrF19/XkfI4nvzb5+2vrMcjnYEr1DqXB7DvTli BaSk93LRrBJPjbdDmAnt6qc5ei/WqnqruuMG53Spwqt2AmmvD5eEOGMcA+aGd4mcl9UfXW ZcbDnwj0c37AJ+atBqWNnE2GAKpnGhZhHJCGWsQg063t88J2sc//NDPEsfUys9VwhjElJa LaLOTnLKIo/eUQ69Kdolf3ZNFaebl32sbqu2RoYoJGaD05qVXpDKAFUyYOl0FliApi0MOH 6hUJWajluY8SMrGPFBcL1WDvYGRKlg00UVNGOOKWuu+HBqePg5+fp6DPYhoM8A== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Dominic Martinez To: John Kehayias Cc: guix-devel@gnu.org Subject: Re: [WIP Patch] Adding an FHS container to guix shell Date: Tue, 12 Jul 2022 22:11:44 -0400 In-reply-to: Message-ID: <87tu7llpj0.fsf@dominicm.dev> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=91.121.223.63; envelope-from=dom@dominicm.dev; helo=out1.migadu.com 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_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 12 Jul 2022 22:26:41 -0400 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657679215; 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=95QBqxAi6OPfXWBITTori1p950DhSdhpwJjuAAhYaZI=; b=VO43ftbPt2qc6bY2bB3KOJ8V+1QHsOVxDfe4uV02oXIYn1gNPbYQiGQSb7Dv4XghuzSWmv xSXARGPNHXyCjp5EwG5alN1OCSnSpq/vLPQ+yXDiuolGldxO9sWyIsuTbpWE25GtQVIipt CtQvWdDWVmeVqo10XgYOiaxPp2H8xHxslBnEIzjcETb4wFkDXjI0Kc4eMDIzhz5/f2eoMY sXjfXHz0/ETOFMTBNgDLq3Zmsod6lpS/bGaHAa23KQIiturEbMEDfBgSuf6TK7DtH3LTt8 FB/1mEEwWUzZrzC5mmcgm19W/vVvpgdORprEoqOyUUZiXZjMc/GObZ+q7Txz1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657679215; a=rsa-sha256; cv=none; b=m2zJOSaTAtLX5xBe3um1jIY7OPuk/BsnRm+2aodoEMi9sWsmcY8PqHdJIO/a/R+GWe3Ho6 UdSot71EEJ3PYKUX2SoOXYN5Y/5XBpFrk0VQbW8/gH0sG/UY/G6mzUFSlY9PvIGExy7ATZ lOq7jURf61D5YzWz0oc+2g/1kDkCfucElvp3ybArAN2BRiJ3z6dRgBpmI9GkEGAe1CiTKC qigdE8EWhGQhIukb3tcz+6ukI5TzWyTN3r4ZYbUdlx77TvUV5Q+r90v+9NuN5jz/0igSrU I6CGpi8/UUDoMQ0GWplINH9e5iN7Q2niSoV4KenWh98ITdQGKGEj8P3bI3h3RQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dominicm.dev header.s=key1 header.b=PYtN1YKR; dmarc=pass (policy=quarantine) header.from=dominicm.dev; 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" X-Migadu-Spam-Score: -6.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dominicm.dev header.s=key1 header.b=PYtN1YKR; dmarc=pass (policy=quarantine) header.from=dominicm.dev; 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" X-Migadu-Queue-Id: B666E39518 X-Spam-Score: -6.15 X-Migadu-Scanner: scn1.migadu.com X-TUID: u32ijB7ZQ0bd --=-=-= Content-Type: text/plain John Kehayias writes: > First, I wanted to ask how people feel about such a feature. Obviously, one use > is to run pre-built binaries (isolated!), but this is also handy for setting up > development environments when not able (or wanting) to with Guix packages only. > For example, using the rustup [0] scripts, pretty much anything JS, or just > following typical Readme instructions to try out something new before packaging. > I won't debate the details here other than to say this topic comes up with Guix > and I think it is yet another useful tool for guix shell and containers. Absolutely! I usually have to resort to Docker containers when building something that doesn't support GuixSD, so being able to work with them through Guix would be amazing. > What about other uses for this container, like providing an isolated environment > to build and run software we can't do fully with bootstrap and sources (like > JS)? Could this become some stop-gap to allow people to work with these > ecosystems in a more controlled way within Guix? Or an alternative build > environment? Not entirely sure what this could mean, just thinking out loud. I think an interesting idea would be to allow packages to transparently run in the FHS container (i.e. a shim that turns 'x' into 'guix shell --fhs-container x -- x'). That way software incompatible with GuixSD in a way too difficult to patch could be still be packaged and used transparently, albeit with a significant performance cost. Even if packages in Guix proper don't use it, it could be useful for third-party channels or end-users to whip up packages. Thanks so much for this; I've been thinking about getting around to this feature for quite a while. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQRtp6gAxeTcYmhxQ/1Bnl1fEVBrXQUCYs4sgwAKCRBBnl1fEVBr XXb+AQCZA8u/imjNEazxPMu9onph31JDw0d+DCjQwqU704np8AD8CGsx7PC4ZMYN X+NRC8dhwCsSmLOpdmS7PXpj8ipEVwM= =x4Ib -----END PGP SIGNATURE----- --=-=-=--