From patchwork Sat Oct 29 02:40:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: EuAndreh X-Patchwork-Id: 44184 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 93E7827BBEA; Sat, 29 Oct 2022 20:19:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0A52E27BBE9 for ; Sat, 29 Oct 2022 20:19:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oorMH-0003WX-AR; Sat, 29 Oct 2022 15:19:05 -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 1oorME-0003V2-Ih for guix-patches@gnu.org; Sat, 29 Oct 2022 15:19:02 -0400 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 1oorME-0001cI-BR for guix-patches@gnu.org; Sat, 29 Oct 2022 15:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oorMD-00066U-SE for guix-patches@gnu.org; Sat, 29 Oct 2022 15:19:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58874] [PATCH] doc: Update reference to special-files-service-type. Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Oct 2022 19:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58874 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58874@debbugs.gnu.org Cc: EuAndreh X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166707112623438 (code B ref -1); Sat, 29 Oct 2022 19:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Oct 2022 19:18:46 +0000 Received: from localhost ([127.0.0.1]:36680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oorLy-00065y-7i for submit@debbugs.gnu.org; Sat, 29 Oct 2022 15:18:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:42012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oorLt-00065m-4n for submit@debbugs.gnu.org; Sat, 29 Oct 2022 15:18:44 -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 1oorLU-0003KN-12 for guix-patches@gnu.org; Sat, 29 Oct 2022 15:18:39 -0400 Received: from box.euandre.org ([46.101.160.115]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oorLR-0001W5-RW for guix-patches@gnu.org; Sat, 29 Oct 2022 15:18:15 -0400 Received: from authenticated-user (box.euandre.org [46.101.160.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.euandre.org (Postfix) with ESMTPSA id 7DDFCFC3F4; Sat, 29 Oct 2022 16:17:37 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1667071058; bh=Xm8UKyXrHNe94VGgwyDdlmlqtFNGJ40EXlKjaX0S2Y0=; h=From:To:Cc:Subject:Date:From; b=NfEIBlAZDCywQ/b3orHazIT6wOlBlOGsDHsQgzPHi2suof9Z0LzctEBT/8rgzwm9K 7LKLtMHYW1yJwWw2crQZk5MELpiFpkL2YYPTbCmqXfsdPkMKmFxjpK+CIgS0BcIkCs cC70L/iLc9aaZspHKcqa4p0DJ7SmPAVXz20vj2fbeVKZGajQBW6QVIqzhiawpH8mRx bm2RkPCPmLEfxI97tbU2ddoKjYlurhMDjh2a4ZGa5p62D0IYsBczIZyaAHAibOdmS7 kFHQRLOkdpPypYE7EG0C6qPU43sOtkBF87H6QtfO75wxhBJ3w/cRdv16igmHyF6Vhv ZKJ6aiopWCdWQ== Date: Fri, 28 Oct 2022 23:40:09 -0300 Message-Id: <20221029024009.10930-1-eu@euandre.org> MIME-Version: 1.0 Received-SPF: pass client-ip=46.101.160.115; envelope-from=eu@euandre.org; helo=box.euandre.org X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Sender: "Guix-patches" Reply-to: EuAndreh X-ACL-Warn: , EuAndreh via Guix-patches X-Patchwork-Original-From: EuAndreh via Guix-patches via From: EuAndreh Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * doc/guix.texi (Base Services): Update what the default value of special-files-service-type is, which already includes /usr/bin/env, and the accompanying examples. --- The code for special-files-service-type changed in a9162155975a131afa1e6a44262afbb7af91f7fd, this is the equivalent documentation change. doc/guix.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 80fb3bc47f..449049fcc8 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -17711,17 +17711,19 @@ and the second element is its target. By default it is: @cindex @file{/bin/sh} @cindex @file{sh}, in @file{/bin} @lisp -`(("/bin/sh" ,(file-append bash "/bin/sh"))) +`(("/bin/sh" ,(file-append bash "/bin/sh")) + ("/usr/bin/env" ,(file-append coreutils "/bin/env"))) @end lisp @cindex @file{/usr/bin/env} @cindex @file{env}, in @file{/usr/bin} -If you want to add, say, @code{/usr/bin/env} to your system, you can +If you want to add, say, @code{/bin/bash} to your system, you can change it to: @lisp `(("/bin/sh" ,(file-append bash "/bin/sh")) - ("/usr/bin/env" ,(file-append coreutils "/bin/env"))) + ("/usr/bin/env" ,(file-append coreutils "/bin/env")) + ("/bin/bash" ,(file-append bash "/bin/bash"))) @end lisp Since this is part of @code{%base-services}, you can use