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