From 8e9aa37f6967f7b8dac46b54bc39c1e0464a350c Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Fri, 1 May 2015 08:54:33 -0500 Subject: doc: Replace reference to profile.sh with sh-symlink MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 Signed-off-by: Ludovic Courtès --- doc/guix.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 3328cbac91..d7868bade8 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 -- cgit v1.2.3