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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Christopher Allan Webber 2015-05-01 08:54:33 -05:00 committed by Ludovic Courtès
parent b4e5d8e7da
commit 8e9aa37f69
1 changed files with 3 additions and 3 deletions

View File

@ -2354,12 +2354,12 @@ parameter is now implicit, and the monadic value returned by
@code{derivation->output-path}---is @dfn{bound} using @code{mlet} @code{derivation->output-path}---is @dfn{bound} using @code{mlet}
instead of plain @code{let}. 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}: effect, one must use @code{run-with-store}:
@example @example
(run-with-store (open-connection) (profile.sh)) (run-with-store (open-connection) (sh-symlink))
@result{} /gnu/store/...-profile.sh @result{} /gnu/store/...-sh-symlink
@end example @end example
Note that the @code{(guix monad-repl)} module extends Guile's REPL with Note that the @code{(guix monad-repl)} module extends Guile's REPL with