From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aLZLE5rctmMhIgEAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 15:20:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8IdWE5rctmOdogAA9RJhRA (envelope-from ) for ; Thu, 05 Jan 2023 15:20:10 +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 8EDF129E8B for ; Thu, 5 Jan 2023 15:20:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDR6D-0006vI-95; Thu, 05 Jan 2023 09:20:05 -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 1pDR6B-0006vA-0f for guix-patches@gnu.org; Thu, 05 Jan 2023 09:20:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pDR6A-0007eZ-FY for guix-patches@gnu.org; Thu, 05 Jan 2023 09:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pDR6A-0008Ey-BE for guix-patches@gnu.org; Thu, 05 Jan 2023 09:20:02 -0500 Subject: bug#60341: [PATCH Home] home: services: environment-variables: Add support for literal strings. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 05 Jan 2023 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60341 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andrew Tropin Cc: 60341-done@debbugs.gnu.org Mail-Followup-To: 60341@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 60341-done@debbugs.gnu.org id=D60341.167292834431597 (code D ref 60341); Thu, 05 Jan 2023 14:20:02 +0000 Received: (at 60341-done) by debbugs.gnu.org; 5 Jan 2023 14:19:04 +0000 Received: from localhost ([127.0.0.1]:50552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDR5D-0008DZ-Ns for submit@debbugs.gnu.org; Thu, 05 Jan 2023 09:19:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDR5C-0008D6-3W for 60341-done@debbugs.gnu.org; Thu, 05 Jan 2023 09:19:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDR56-0005I4-Ds; Thu, 05 Jan 2023 09:18:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=NhJwko1+S2wTbQa3z34PHV7KzI+rGBcXkfXgakyvdIE=; b=rlCdZ0HlhsJye1l2KUfU B+9r+c/MAm8kdokmuBi+aMySfrW3P9T9vOpjQdKJT9IjK2DP5AT5X+5YCkPNWtEvWsOlgpwQlYd6B dvv04tNcHXjnIC+CIhL66llcHRWwoiyG+xBerNgv0C9NvnhZe9AYWV+3ois8orhFRueVIys2gfOSS pvStBzXL/FlEvig3i/39QT33B3ILZ00242oDt8Ag4k8zPox7ZnN46ECHuFBxlB4xLxSOaNwCN/kVz QSCQpxLSlLJmNR4BbsuHeVJMkDtCBaD0z7z0cSqx4v6qgH7qJcsSKLZChh2Szw6bOGfbkhnacsv6J /QyG2DIG9wf00A==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDR4s-000530-UQ; Thu, 05 Jan 2023 09:18:50 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20221226181938.30003-1-ludo@gnu.org> <87o7rpa6rk.fsf@trop.in> <871qob6xj7.fsf_-_@gnu.org> <874jt6c1nc.fsf@trop.in> Date: Thu, 05 Jan 2023 15:18:41 +0100 In-Reply-To: <874jt6c1nc.fsf@trop.in> (Andrew Tropin's message of "Wed, 04 Jan 2023 09:24:55 +0400") Message-ID: <87zgax2hfi.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-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=1672928410; a=rsa-sha256; cv=none; b=r1KAqRNkWaSQl4aC0QHL3g537Xx/tU07TybvN4q0yDyA4+E3KMd8mQng1hPni0XCqZuvnY S9lMLiEdxLLv4kLSohrRutVrSqv6AaB2OF+UvYUcdXyTB3HH5kve1gGUcL/zfUOa7wghTU qebU+LIO1K9SPkSaExyTjomAvnuet/3rQtj/BYzPxdxTQRTdZaXCRZedZm8V/q9npFQonr H5wY6YQ3/mOJ85AkvtpcvVXWstsROmn+7quVa6elAerrw0qrW7NA/d3q6VWglvx1t2Hwx6 aRHRmwotUsKHtc7VT7apTtRZ501+y3ry8qhVppwPSgEM2FKEVZ2VKOrdYPSXxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=rlCdZ0Hl; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672928410; 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: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NhJwko1+S2wTbQa3z34PHV7KzI+rGBcXkfXgakyvdIE=; b=ueEfWw7uDfZezHKOpd8/qMRfgMhT8FoimBPu2P88I4lbsUZj9ZkD1y+zizMuSjMbw44Ntn Se3gB1RWe+AqRCBS5Rk6l7e1aMT1FpRCl6mi4Fm/IkUyMLz2o0y20oZANYQnA0n3e8yYSN vyLV/UJmdxYExzpuVvV6/r3iNyBWqyGiC7+Wv6FlA3oBy9vo1hSrievQ70JqtVxfbVFYmm MrApEYY/z/ePefgFhArtIseUKFNVyjMf+hGCi5PlBvLRt79/ip4RMvK0JlF9bdZrJGFTo4 JKEig1b4FFjyqHAiEo/SDDtEf3AR4cTNrGs2XYiSVC58U+frORco9CcuaB1IDw== X-Spam-Score: -3.56 X-Migadu-Queue-Id: 8EDF129E8B Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=rlCdZ0Hl; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.56 X-TUID: Fe3y6a+qqMeu Andrew Tropin skribis: > On 2023-01-03 23:52, Ludovic Court=C3=A8s wrote: [...] >> Yeah, the shell/Scheme mixture is a bit weird; it=E2=80=99s sort of in-b= etween >> because you can=E2=80=99t completely ignore that it=E2=80=99s shell code= under the hood. >> >> Looking at , I think we should strive >> to not generate non-working shell snippets. Automatic quoting and this >> =E2=80=98literal-string=E2=80=99 construct are a way to achieve that. > > Yep, I think this is a way to go. Alright, pushed as 73684dc90e013f2f0cca1097b0c944bb9aa88709. Thanks! Ludo=E2=80=99.