unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] doc: Replace reference to profile.sh with sh-symlink
@ 2015-05-01 13:51 Christopher Allan Webber
  2015-05-03 20:02 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Allan Webber @ 2015-05-01 13:51 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

Hello all,

I've been confused at several points while reading the manual in "the
store monad" section, which references, instead of the derivation
immediately defined above, the name of the derivation in the next node.

I've changed the reference to be the one described on this page.
Someone should check to ensure that this is indeed the desired
documentation, but if it isn't, I think it's probably a bit confusing.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-doc-Replace-reference-to-profile.sh-with-sh-symlink.patch --]
[-- Type: text/x-diff, Size: 1259 bytes --]

From 752cff71d7c3086f116f02a46af2f87d05597c03 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-03 20:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-01 13:51 [PATCH] doc: Replace reference to profile.sh with sh-symlink Christopher Allan Webber
2015-05-03 20:02 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).