From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OynUN0utv2CARwEAgWs5BA (envelope-from ) for ; Tue, 08 Jun 2021 19:47: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 mp2 with LMTPS id qNx1Mkutv2BfZQAAB5/wlQ (envelope-from ) for ; Tue, 08 Jun 2021 17:47:55 +0000 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 4F0DC14C0B for ; Tue, 8 Jun 2021 19:47:55 +0200 (CEST) Received: from localhost ([::1]:33658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqfpR-00046M-RJ for larch@yhetil.org; Tue, 08 Jun 2021 13:47:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqfoc-00031U-Rw for guix-patches@gnu.org; Tue, 08 Jun 2021 13:47:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqfob-0002Lp-NZ for guix-patches@gnu.org; Tue, 08 Jun 2021 13:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqfob-0001kD-M7 for guix-patches@gnu.org; Tue, 08 Jun 2021 13:47:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48923] [PATCH] build: utils: Add =?UTF-8?Q?=E2=80=98call-with-outp?= Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Jun 2021 17:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48923 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen , 48923@debbugs.gnu.org Received: via spool by 48923-submit@debbugs.gnu.org id=B48923.16231743676629 (code B ref 48923); Tue, 08 Jun 2021 17:47:01 +0000 Received: (at 48923) by debbugs.gnu.org; 8 Jun 2021 17:46:07 +0000 Received: from localhost ([127.0.0.1]:59729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqfnf-0001ij-Cd for submit@debbugs.gnu.org; Tue, 08 Jun 2021 13:46:06 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:48404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqfnZ-0001hl-G2 for 48923@debbugs.gnu.org; Tue, 08 Jun 2021 13:46:01 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id Ehlv250090mfAB406hlvCz; Tue, 08 Jun 2021 19:45:55 +0200 Message-ID: <38b69976891db7870992091d9eb3aa7aeb20e471.camel@telenet.be> From: Maxime Devos Date: Tue, 08 Jun 2021 19:45:49 +0200 In-Reply-To: <871r9cgsxk.fsf@yoctocell.xyz> References: <23ac66d29119c5395fee0e993ea0fe811beefd91.1623166798.git.public@yoctocell.xyz> <871r9cgsxk.fsf@yoctocell.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-2OpVFUCOWBmnTF+zCPtt" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623174355; bh=3w+A25UCK3nmU3MpdW6IqmLyfWqIADrDOrGQJ1rGRDU=; h=Subject:From:To:Date:In-Reply-To:References; b=BQ6qXhEru7zHAgkt7LYMjdA2pGfiRJrREljFkByq3oRch2rgTTJwYGauNNdjXbvzF taOVygrj1WAffd83/YTMub/S1lIZLIyTyA8ba2kSrztNdPawqTKxeRo9xHkfbVHcvc LmfLBq3rVbm0ZSErVKofJ/P0QvwsxzrM2nq2FTt47XU5iw7znHg/eJH9IdV+8cxcl0 o79lfSEdFUYBcoRvVQwQw3bgbHMxToLV5PpRgddcBIFZos1hi63P7HZEzmsj+W52X3 1nxVpeBoA8sBmk+oI3oUCGSpxJGgy5KaTy4D1q+U1HJ63RhFIgYx7+Y2HyJWjxFKA3 AHkZFQW4/qWQQ== 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623174475; 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:resent-cc: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=3w+A25UCK3nmU3MpdW6IqmLyfWqIADrDOrGQJ1rGRDU=; b=pT7CLXB4ZHUYMzVsAcKF/D3iytWpWDeL/e7L9tfTnBPeJX59VfO3Di0v/M1ftUJcKGoD8C 4sFTS3z02/F+HFPohMTrKkxjOygNpvCVyP/9K1mDUqVKacQMADjYqnRDm3BZDEbZw4HEKW 4Bitjfrm3h80ePWoGhGclWTvLDOOQ+KvbhHojKvLPLvXF9OU6GxExOjb468mnDkav7yzKC m2c5cAujnLhw573KveqL6lWtKzOfmqUZXxQj5fobImo6+9SNk+J03geYu047KutIVb4JIs PDadlu8CrDEw+Q/AWAIoHO5nPjRL3T9qHnSN+BFMoYfppgnyu98rtZzot4TcCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623174475; a=rsa-sha256; cv=none; b=h6tJp/k8tGsrN5oVvUl2segSE6lz0l7IdR8sBKr3MkyXXcUPx6mVNbFA1Yg8rSwzpj3xTk y+P4gRlbE+hkzYzYGsXxvxacTbES2TvC63gRfbQSi1GJE/YXeKZuv2+DEl0Zmfsra3W0b1 a1/tp3IlDrIuMIppSDw4R5zHSda2Nu9e4MdYGqr/g8tseepwYj2MbA71Rs8F6UmZFTIifF eYwHiCas2GZ322u70kaBKOzPbhe1+pzOBr0CoaREBIN14ezDBURrUbK6jV5mTWZhJwjK9E yBwLiw1OlSIQrvxpqSSgmvfvcI+nV6mL1s2G4PLJGXb2w9GGQMh6Gi7A6Xa9Hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=BQ6qXhEr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=BQ6qXhEr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4F0DC14C0B X-Spam-Score: -3.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: TKOkdhrPZpOA --=-2OpVFUCOWBmnTF+zCPtt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xinglu Chen schreef op di 08-06-2021 om 19:36 [+0200]: > On Tue, Jun 08 2021, Maxime Devos wrote: >=20 > > Xinglu Chen schreef op di 08-06-2021 om 17:40 [+0200]: > > > Using =E2=80=98call-with-output-file*=E2=80=99 instead of =E2=80=98ca= ll-with-output-file=E2=80=99 and =E2=80=98chmod=E2=80=99 > > > will prevent secrets from being leaked. See > > > ;;. > >=20 > > This procedure LGTM (but I didn't test). > > However, > >=20 > > > diff --git a/guix/build/utils.scm b/guix/build/utils.scm > > > index 419c10195b..df960eee84 100644 > > > --- a/guix/build/utils.scm > > > +++ b/guix/build/utils.scm > > > @@ -5,6 +5,7 @@ > >=20 > > Modifying (guix build utils) entails a world-rebuild, as > > (guix build utils) is used by the build code of practically > > every package. I would suggest placing it in (gnu build activation) > > instead. >=20 > Oh, I didn=E2=80=99t think about that. Moving it to (gnu build activatio= n) > seems like a good option. >=20 > Should I create a new =E2=80=9CActivation=E2=80=9D section in the manual,= or should I > keep it in the =E2=80=9CBuild Utilities=E2=80=9D section? The procedure isn't available during package building (well, (gnu build activation) _could_ be imported in a package definition using #:imported-modules & #:modules but it is not supposed to be used like that), so =E2=80=98Build Utilities=E2=80=99 doesn't seem appropriate, thus = I'd suggest creating an "Activation" section in the manual. Maybe under =E2=80=98Programming Reference=E2=80=99, or after =E2=80=98Defi= ning Services=E2=80=99 in the =E2=80=98System configuration=E2=80=99 chapter? Greetings, Maxime. --=-2OpVFUCOWBmnTF+zCPtt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYL+szRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pQ5AQCEOJH3eY571Igmx7W/uXxmVMYE SahmUcwWkpIyGdcXDgEAhwmsk2gyHJ3JQItn0atQA8r2Mq/zslgVvFp6L1q4GAI= =AWlF -----END PGP SIGNATURE----- --=-2OpVFUCOWBmnTF+zCPtt--