Skip to content
Snippets Groups Projects
Commit 8e9aa37f authored by Christine Lemmer-Webber's avatar Christine Lemmer-Webber Committed by Ludovic Courtès
Browse files

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: default avatarLudovic Courtès <ludo@gnu.org>
parent b4e5d8e7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment