Browse Source

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>
version-0.8.3
Christopher Allan Webber 7 years ago
committed by Ludovic Courtès
parent
commit
8e9aa37f69
  1. 6
      doc/guix.texi

6
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

Loading…
Cancel
Save