From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: [PATCH] doc: Replace reference to profile.sh with sh-symlink Date: Fri, 01 May 2015 08:51:07 -0500 Message-ID: <874mnwl7h1.fsf@earlgrey.lan> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoBXm-0002uj-8T for guix-devel@gnu.org; Fri, 01 May 2015 10:03:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoBXj-0006AG-1C for guix-devel@gnu.org; Fri, 01 May 2015 10:03:54 -0400 Received: from dustycloud.org ([50.116.34.160]:40025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoBXi-00069e-UE for guix-devel@gnu.org; Fri, 01 May 2015 10:03:50 -0400 Received: from earlgrey.lan (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 627D926648 for ; Fri, 1 May 2015 10:03:50 -0400 (EDT) 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel --=-=-= Content-Type: text/plain Hello all, I've been confused at several points while reading the manual in "the store monad" section, which references, instead of the derivation immediately defined above, the name of the derivation in the next node. I've changed the reference to be the one described on this page. Someone should check to ensure that this is indeed the desired documentation, but if it isn't, I think it's probably a bit confusing. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-doc-Replace-reference-to-profile.sh-with-sh-symlink.patch >From 752cff71d7c3086f116f02a46af2f87d05597c03 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Fri, 1 May 2015 08:54:33 -0500 Subject: [PATCH] doc: Replace reference to profile.sh with sh-symlink * doc/guix.texi (The Store Monad): Replace reference to "profile.sh", which is not defined until the next node, with "sh-symlink", which is defined immediately above --- doc/guix.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index dd6af80..449c7d1 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -2354,12 +2354,12 @@ parameter is now implicit, and the monadic value returned by @code{derivation->output-path}---is @dfn{bound} using @code{mlet} instead of plain @code{let}. -Calling the monadic @code{profile.sh} has no effect. To get the desired +Calling the monadic @code{sh-symlink} has no effect. To get the desired effect, one must use @code{run-with-store}: @example -(run-with-store (open-connection) (profile.sh)) -@result{} /gnu/store/...-profile.sh +(run-with-store (open-connection) (sh-symlink)) +@result{} /gnu/store/...-sh-symlink @end example Note that the @code{(guix monad-repl)} module extends Guile's REPL with -- 2.1.4 --=-=-=--