summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* build: Protect against misconfiguration of localstatedir.Ludovic Courtès2016-03-19
| | | | | | | | | | | Suggested by Jookia <166291@gmail.com>. * m4/guix.m4 (GUIX_CURRENT_LOCALSTATEDIR, GUIX_CHECK_LOCALSTATEDIR): New macros. * config-daemon.ac: Use 'GUIX_CHECK_LOCALSTATEDIR'. * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add --localstatedir. * doc/guix.texi (Requirements): Mention --localstatedir. (The Store): Mention LOCALSTATEDIR as such.
* doc: Add missing comma after @xref.Ludovic Courtès2016-03-17
| | | | | | Reported by Alex Kost <alezost@gmail.com>. * doc/guix.texi (Service Reference): Add comma after @xref.
* doc: GNOME is now available.Ludovic Courtès2016-03-17
| | | | * doc/guix.texi (Limitations): Rephrase item about GNOME and KDE.
* substitute: Honor client-provided empty URL list.Ludovic Courtès2016-03-16
| | | | | | | | | | | | | | | Before that, 'guix build --substitute-urls=""' would lead to using the daemon's own URL list instead of the empty list. The 'or*' hack, which is to blame, had become unnecessary since commit fb4bf72be3fbc23bca35ba4b842b7e1517ef0e3a. Reported by Mark H Weaver <mhw@netris.org>. * guix/scripts/substitute.scm (or*): Remove. (%cache-urls): Use 'or' instead of 'or*'. * tests/store.scm ("substitute query, alternating URLs"): Add test with empty URL list. * doc/guix.texi (Common Build Options): Mention the empty string.
* build: Default to "https://mirror.hydra.gnu.org/" for substitutes.Ludovic Courtès2016-03-16
| | | | | | | | | | | * config-daemon.ac: Check for (gnutls) and define 'GUIX_SUBSTITUTE_URLS'. * nix/nix-daemon/guix-daemon.cc (main): Use GUIX_SUBSTITUTE_URLS. * guix/store.scm (%default-substitute-urls): Use 'https' when (gnutls) is available. * doc/guix.texi (Binary Installation): Mention mirrors (Invoking guix-daemon): Mention mirror.hydra.gnu.org. (Substitutes): Mention mirrors. (Invoking guix archive): Show https URLs.
* gnu: services: Add GNOME and XFCE desktop services.Andy Wingo2016-03-15
| | | | | | | | | | | * gnu/services/desktop.scm (package-direct-input-selector): New function. (<gnome-desktop-configuration>, gnome-desktop-service-type) (<xfce-desktop-configuration>, xfce-desktop-service-type): New variables. (gnome-desktop-service, xfce-desktop-service): New public variables. * doc/guix.texi (Desktop Services): Document new variables.
* doc: Clarify and consolidate modify-services documentation.Chris Marusich2016-03-15
| | | | | | | | | * doc/guix.texi ("Using the Configuration System"): Move the example... ("Service Reference"): ...to here, and clarify more. * gnu/services.scm (modify-services): Update docstring to mention the return type. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* doc: Add "Hardware Considerations" node.Ludovic Courtès2016-03-15
| | | | | | | Suggested by Nils Gillmann <niasterisk@grrlz.net>. * doc/guix.texi (Hardware Considerations): New node. (operating-system Reference): Mention it.
* doc: Fix incorrect use of @xref.Andreas Enge2016-03-14
| | | | | | | This is a follow-up to commit 1068f26b797ed7c1475d93cab6eed53c9097c7f6. Reported by Alex Kost <alezost@gmail.com>. * doc/guix.texi (Building the Installation Image): Replace @xref by @ref.
* build: Add Ant build system.Ricardo Wurmus2016-03-14
| | | | | | | * guix/build-system/ant.scm: New file. * guix/build/ant-build-system: New file. * Makefile.am (MODULES): Add new files. * doc/guix.texi (Build Systems): Document ant-build-system.
* doc: Add footnote about pointing ~/.config/guix/latest at user's checkoutChristopher Allan Webber2016-03-11
| | | | * doc/contributing.texi (Running Guix Before It Is Installed): New footnote.
* doc: Suggest `guix.scm' for upstream maintainers.Jan Nieuwenhuizen2016-03-11
| | | | | | * doc/guix.texi (Invoking guix package): Suggest `guix.scm'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* substitute: Add HTTPS support.Ludovic Courtès2016-03-10
| | | | | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/22937>. Reported by Chris Marusich <cmmarusich@gmail.com>. * guix/scripts/substitute.scm (fetch): Add 'https' alongside 'http'. Use 'open-connection-for-uri' instead of 'open-socket-for-uri'. Call 'setvbuf' only when PORT matches 'file-port?'. (http-multiple-get): Likewise. Change 'base-url' parameter to 'base-uri'. (fetch-narinfos)[do-fetch]: Add 'https' case alongside 'http'. Pass URI instead of URL to 'http-multiple-get'. * doc/guix.texi (Requirements): Move GnuTLS one level higher and mention HTTPS substitutes. (Substitutes): Mention HTTPS and recommend it. Explain why servers are not authenticated. Add "On Trusting Binaries" subsection.
* doc: Add note on store immutability.Ludovic Courtès2016-03-09
| | | | | * doc/guix.texi (The Store): Mention "store items" and the database location. Add note on the store's immutability.
* guix build: Add '--quiet'.Ludovic Courtès2016-03-08
| | | | | | | | | | Fixes <http://bugs.gnu.org/19772>. Reported by Andrei Osipov <andrspv@gmail.com>. * guix/scripts/build.scm (show-help, %options): Add --quiet. (guix-build): Parameterize 'current-build-output-port' accordingly. * doc/guix.texi (Invoking guix build): Use it in example. (Additional Build Options): Document it.
* doc: Explain how to check whether security updates are used.Ludovic Courtès2016-03-05
| | | | | | | | Based on <https://lists.gnu.org/archive/html/guix-devel/2016-03/msg00009.html>. * doc/guix.texi (Security Updates): Explain how to check whether we're using a grafted version.
* doc: Typos and small stylistic changes.Andreas Enge2016-03-05
| | | | * guix.texi: Correct typos and make minor changes.
* doc: Mention syslogd configuration.Ludovic Courtès2016-03-04
| | | | | | | * gnu/services/base.scm (syslog-service): Add xref to Inetutils in the docstring. (%default-syslog.conf): Export. * doc/guix.texi (Base Services): Update accordingly.
* doc: Improve Info categories.Ludovic Courtès2016-03-03
| | | | | | * doc/guix.texi: Change main category to "System administration". Fix syntax of subnodes. Add entries for 'guix pull' and 'guix gc'. Add "Emacs" category.
* utils: Use '@' for separating package names and version numbers.Mathieu Lirzin2016-03-02
| | | | | | | | | | | | | | | | | | | | | This provides the ability to use numbers in package names. Fixes <http://bugs.gnu.org/19219>. * guix/utils.scm (package-name->name+version): New procedure. * gnu/packages.scm (%find-package): Add a FALLBACK? keyword argument. Use the previous method when no package is found. (specification->package+output, specification->package): Adapt documentation to new syntax. * doc/guix.texi (Invoking guix package, Invoking guix import): Likewise. * guix/ui.scm (package-specification->name+version+output): Likewise. * guix/scripts/import/hackage.scm (show-help): Likewise. * tests/guix-build.sh: Adapt to new syntax. * tests/guix-lint.sh: Likewise. * tests/guix-package.sh: Likewise. * tests/ui.scm ("package-specification->name+version+output"): Likewise. * tests/utils.scm ("package-name->name+version"): Likewise. * NEWS: Mention new syntax.
* guix build: Move '--no-grafts' to the common build options.Ludovic Courtès2016-03-02
| | | | | | | | | | | | | | | | * guix/scripts/build.scm (%options): Move --no-grafts to... (%standard-build-options): ... here. (show-help, show-build-options-help): Adjust accordingly. * guix/scripts/archive.scm (%default-options): Add 'graft?'. (guix-archive): Parametrize '%graft?'. * guix/scripts/environment.scm (%default-options): Add 'graft?'. (guix-environment): Parametrize '%graft?'. * guix/scripts/package.scm (%default-options): Add 'graft?'. (guix-package): Parametrize '%graft?'. * guix/scripts/system.scm (%default-options): Add 'graft?'. (guix-system): Parametrize 'graft?'. * doc/guix.texi (Additional Build Options): Move --no-grafts to... (Common Build Options): ... here.
* grafts: Graft recursively.Ludovic Courtès2016-03-01
| | | | | | | | | | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/22139>. * guix/grafts.scm (graft-derivation): Rename to... (graft-derivation/shallow): ... this. (graft-origin-file-name, item->deriver, non-self-references) (cumulative-grafts, graft-derivation): New procedures * tests/grafts.scm ("graft-derivation, grafted item is a direct dependency"): Clarify title. Use 'grafted' instead of 'graft' to refer to the grafted derivation. ("graft-derivation, grafted item is an indirect dependency") ("graft-derivation, no dependencies on grafted output"): New tests. * guix/packages.scm (input-graft): Change to take a package instead of an input. (input-cross-graft): Likewise. (fold-bag-dependencies): New procedure. (bag-grafts): Rewrite in terms of 'fold-bag-dependencies'. * tests/packages.scm ("package-derivation, indirect grafts"): Comment out. * doc/guix.texi (Security Updates): Mention run-time dependencies and recursive grafting.
* import: Add github-updater.Ben Woodcroft2016-02-26
| | | | | | | * guix/import/github.scm: New file. * guix/scripts/refresh.scm (%updaters): Add %GITHUB-UPDATER. * doc/guix.texi (Invoking guix refresh): Mention it. * Makefile.am (MODULES): Add gnu/import/github.scm.
* doc: Capitalize section title.Ludovic Courtès2016-02-26
| | | | * doc/guix.texi (Running GuixSD in a VM): Capitalize section title.
* Merge branch 'media-updates'Mark H Weaver2016-02-25
|\
| * gnu-maintenance: Add X.org updater.Andy Wingo2016-02-24
| | | | | | | | | | | | | | | | | | | | * guix/gnu-maintenance.scm (xorg-package?, latest-xorg-release): New private functions. (%xorg-updater): New public variable. * guix/scripts/refresh.scm (%updaters): Add %xorg-updater. * doc/guix.texi (Invoking guix refresh): Mention the new updater.
* | doc: Clarify the form of UUIDs we expect.Ludovic Courtès2016-02-25
| | | | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/22797>. Reported by Alex Kost <alezost@gmail.com>. * doc/guix.texi (File Systems): Clarify which UUIDs we're talking about.
* | store: Clarify documentation of 'valid-path?'.Ludovic Courtès2016-02-25
| | | | | | | | | | * guix/store.scm (valid-path?): Improve docstring. * doc/guix.texi (The Store): Update accordingly.
* | doc: Improve recent changes in "Binary Installation".Ludovic Courtès2016-02-24
| | | | | | | | | | | | | | | | This amends part of c8e2688. * doc/guix.texi (Binary Installation): Improve wording of some parts. Fix Upstart example. Remove incorrect paragraph about locales. Reinstate bit about reproducing the binary tarball.
* | doc: Clarify who can run 'guix pull'.Ludovic Courtès2016-02-24
| | | | | | | | | | | | | | Suggested by Chris Marusich <cmmarusich@gmail.com>. * doc/guix.texi (Invoking guix pull): Add paragraph explaining that any user can run 'guix pull'.
* | doc: Add details for binary installation.George Clemmer2016-02-24
| | | | | | | | | | | | | | * doc/guix.texi (Binary Installation): Provide some more details for binary installation, in particular automatic starting of the daemon. Signed-off-by: Andreas Enge <andreas@enge.fr>
* | doc: Fix minor typos and add missing words.Chris Marusich2016-02-24
|/ | | | | | | | | * doc/guix.texi (Shepherd Services): Add missing words. (Invoking guix system): Fix typo. (Service Types and Services): Fix typo. * doc/contributing.texi (Submitting Patches): Fix typo. Signed-off-by: Andreas Enge <andreas@enge.fr>
* doc: Add example of VCS-snapshot version numbers.Ludovic Courtès2016-02-23
| | | | * doc/guix.texi (Version Numbers): Add example for VCS version numbers.
* emacs: Add 'M-x guix-installed-{user/system}-packages'.Alex Kost2016-02-22
| | | | | | * emacs/guix-ui-package.el (guix-installed-user-packages) (guix-installed-system-packages): New commands. * doc/emacs.texi (Emacs Commands): Document them.
* doc: Add Texinfo HTML cross-reference file.Ludovic Courtès2016-02-21
| | | | | | | Fixes <http://bugs.gnu.org/22543>. * doc/htmlxref.cnf: New file. * doc.am (EXTRA_DIST): Add it.
* Revert "doc: Drop documentation of deprecated procedures."Andreas Enge2016-02-21
| | | | This reverts commit f5c6e77a7f42e133df8c97d3b4798a11e6d58d06.
* import: gem: Add updater.Ben Woodcroft2016-02-20
| | | | | | | | | | * guix/import/gem.scm (guix-package->gem-name, gem-package?, latest-release): New procedures. (%gem-updater): New variable. (rubygems-fetch): Wrap body in 'call-with-output-file' and 'with-error-to-port'. * guix/scripts/refresh.scm (%updaters): Add %GEM-UPDATER. * doc/guix.texi (Invoking guix refresh): Mention RubyGems.
* doc: Add footnote on Guile-JSON.Andreas Enge2016-02-16
| | | | | * doc/guix.texi ("invoking guix import"): Add a footnote to the CPAN importer on the need for Guile-JSON.
* doc: Drop documentation of deprecated procedures.Andreas Enge2016-02-16
| | | | | * doc/guix.texi ("build systems"): Drop documentation of BUILD-EXPRESSION->DERIVATION.
* doc: Use modify-phases syntax in example.Andreas Enge2016-02-16
| | | | | * doc/guix.texi ("build systems"): Use modify-phases syntax instead of alist-delete in example.
* doc: Move paragraphs in description of guix archive.Andreas Enge2016-02-16
| | | | | * doc/guix.texi ("invoking guix archive"): Move paragraph describing basic invocation from the end to the beginning of the section.
* doc: Correct typos.Andreas Enge2016-02-13
| | | | * doc/guix.texi: Correct typos, grammar and stylistic points.
* scripts: environment: Build environments as profiles.David Thompson2016-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/19816>. * guix/scripts/environment.scm (evaluate-input-search-paths) (build-inputs): Delete. (evaluate-profile-search-paths, strip-input-name) (package-or-package+output?, package-environment-inputs) (build-environment, inputs->profile-derivations): New procedures. (create-environment, show-search-paths, launch-environment) (launch-environment/container): Replace 'inputs' argument with 'profile' argument. (package+propagated-inputs): Strip off names off of input tuples. (options/resolve-packages): Handle input tuples that specify an output in expressions. (guix-environment): Convert inputs into a profile to use in the environment. Remove non-package inputs such as origins from environment inputs. * doc/guix.texi ("invoking guix environment"): Document package+output tuples for --expression option. * tests/guix-environment.sh: Update tests. * tests/guix-environment-container.sh: Likewise. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* doc: Provide more details about system installation.Ludovic Courtès2016-02-10
| | | | | | | | | | | | | * doc/guix.texi (System Installation): Turn all subsections into individual nodes. (Limitations): Update the number of packages. (Preparing for Installation)[Keyboard Layout, Networking, Disk Partitionning]: New subsections. Move the 'cow-store' thing to... (Proceeding with the Installation): ... here. Describe things in more detail. (Base Services): Add index entry for "keyboard layout". Co-authored-by: Petter <petter@mykolab.ch>.
* system: Selected locale is automatically built.Ludovic Courtès2016-02-10
| | | | | | | | | | | | Fixes <http://bugs.gnu.org/22572>. Reported by Mark H Weaver <mhw@netris.org>. * gnu/system/locale.scm (%not-dot): New variable. (denormalize-codeset, locale-name->definition): New procedures. * gnu/system.scm (locale-name->definition*): New procedure. (operating-system-locale-directory): Instead of raising an error, add the missing locale. * doc/guix.texi (Locales): Adjust accordingly.
* emacs: 'C-u M-x guix-edit' prompts for directory.Alex Kost2016-02-10
| | | | | | | | * emacs/guix-base.el (guix-read-directory): New procedure. (guix-find-location, guix-edit): Add optional 'directory' argument. * emacs/guix-ui-package.el (guix-package-list-edit) (guix-output-list-edit): Likewise. * doc/emacs.texi (Emacs Commands): Mention "C-u".
* doc: Document 'guix-edit' Emacs command.Alex Kost2016-02-07
| | | | | * doc/emacs.texi (Emacs Commands): Document "M-x guix-edit". * doc/guix.texi (Invoking guix edit): Mention it.
* emacs: Factorize searching for Emacs packages.Alex Kost2016-02-07
| | | | | | | | | | | * emacs/guix-emacs.el: (guix-emacs-directories): New procedure. (guix-emacs-find-autoloads-in-directory): Rename to... (guix-emacs-find-autoloads): ... this. (guix-emacs-load-autoloads): Remove. Replace with... (guix-emacs-autoload-packages): ... this. New procedure. At first, find a list of directories with Emacs packages, then add them to 'load-path' and finally, load autoloads. * doc/emacs.texi (Emacs Initial Setup): Adjust accordingly.
* doc: Mention 'tzselect'.Ludovic Courtès2016-02-04
| | | | | * doc/guix.texi (operating-system Reference): Mention 'tzselect' and invalid timezone strings.
* guix system: 'reconfigure' loads and starts new services.Ludovic Courtès2016-02-03
| | | | | | | | | | | | | | Partly fixes <http://bugs.gnu.org/22039>. * gnu/services/herd.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu/services/shepherd.scm (shepherd-service-canonical-name): New procedure. (shepherd-service-file): Export. * guix/scripts/system.scm (upgrade-shepherd-services): New procedure. (switch-to-system): Use it. * guix/ui.scm (info): New procedure. * doc/guix.texi (Invoking guix system): Mention system services.