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:
parent
b4e5d8e7da
commit
8e9aa37f69
|
@ -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…
Reference in New Issue