[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/11: doc: Explain when guix edit is read-only.
From: |
Alex Kost |
Subject: |
11/11: doc: Explain when guix edit is read-only. |
Date: |
Mon, 25 Jul 2016 14:22:22 +0000 (UTC) |
alezost pushed a commit to branch master
in repository guix.
commit 424a323e92d92284efcd30cf548d1f41c556d592
Author: myglc2 <address@hidden>
Date: Thu Jul 21 18:35:34 2016 -0400
doc: Explain when guix edit is read-only.
* doc/guix.texi (Invoking guix edit): Explain when you can and can't
edit the recipe.
Signed-off-by: Alex Kost <address@hidden>
---
doc/guix.texi | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 9703c72..ec22d94 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4536,8 +4536,9 @@ You can freely access a huge library of build logs!
@cindex package definition, editing
So many packages, so many source files! The @command{guix edit} command
-facilitates the life of packagers by pointing their editor at the source
-file containing the definition of the specified packages. For instance:
+facilitates the life of users and packagers by pointing their editor at
+the source file containing the definition of the specified packages.
+For instance:
@example
guix edit gcc@@4.9 vim
@@ -4545,9 +4546,15 @@ guix edit gcc@@4.9 vim
@noindent
launches the program specified in the @code{VISUAL} or in the
address@hidden environment variable to edit the recipe of address@hidden
address@hidden environment variable to view the recipe of address@hidden
and that of Vim.
+If you are using a Guix Git checkout (@pxref{Building from Git}), or
+have created your own packages on @code{GUIX_PACKAGE_PATH}
+(@pxref{Defining Packages}), you will be able to edit the package
+recipes. Otherwise, you will be able to examine the read-only recipes
+for packages currently in the store.
+
If you are using Emacs, note that the Emacs user interface provides the
@kbd{M-x guix-edit} command and a similar functionality in the ``package
info'' and ``package list'' buffers created by the @kbd{M-x
- branch master updated (1925a87 -> 424a323), Alex Kost, 2016/07/25
- 05/11: doc: Describe how to make X server find TrueType fonts., Alex Kost, 2016/07/25
- 01/11: gnu: Add xfontsel., Alex Kost, 2016/07/25
- 09/11: gnu: emacs: Install site-start.el in non-versioned directory., Alex Kost, 2016/07/25
- 03/11: gnu: mkfontdir: Do not propagate 'mkfontscale'., Alex Kost, 2016/07/25
- 04/11: profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/25
- 06/11: gnu: Add xdpyprobe., Alex Kost, 2016/07/25
- 02/11: gnu: Add xfd., Alex Kost, 2016/07/25
- 08/11: gnu: Add guile-daemon., Alex Kost, 2016/07/25
- 10/11: gnu: emacs-solarized-theme: Remove unneeded dependencies., Alex Kost, 2016/07/25
- 11/11: doc: Explain when guix edit is read-only.,
Alex Kost <=
- 07/11: gnu: Add guile-xosd., Alex Kost, 2016/07/25