aboutsummaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* daemon: Build in /tmp/guix-build-*.Ludovic Courtès2015-12-30
| | | | | | * nix/libstore/build.cc (DerivationGoal::startBuilder): Use "guix-build" instead of "nix-build" for TMPDIR. * doc/guix.texi (Build Environment Setup): Adjust accordingly.
* file-systems: Add a 'mount?' field.Ludovic Courtès2015-12-22
| | | | | | | | | | | | | Fixes <http://bugs.gnu.org/22176>. Reported by Florian Paul Schmidt <mista.tapas@gmx.net>. * gnu/system/file-systems.scm (<file-system>)[mount?]: New field. (file-system->spec): Adjust accordingly. * gnu/services/base.scm (file-system-dmd-service): Return the empty list when FILE-SYSTEM has 'mount?' set to false. (user-processes-service): Select the subset of FILE-SYSTEMS that matches 'file-system-mount?'. * doc/guix.texi (File Systems): Document it.
* doc: Explain significance of partition labels.Leo Famulari2015-12-21
| | | | | * doc/guix.texi (Preparing for Installation): Point out relationship between partition labels and the file-system configuration.
* doc: Fix outdated claim about CRAN importer.Ricardo Wurmus2015-12-21
| | | | | * doc/guix.texi: The CRAN importer no longer extracts information from the HTML package description but from the package's DESCRIPTION file.
* gnu: Add dovecot serviceAndy Wingo2015-12-18
| | | | | | | | | | | | | | | | * gnu/services/mail.scm: New file. (&dovecot-configuration-error, dovecot-configuration-error?) (dovecot-service, dovecot-configuration, dict-configuration) (passdb-configuration, userdb-configuration) (unix-listener-configuration, fifo-listener-configuration) (inet-listener-configuration, service-configuration) (protocol-configuration, plugin-configuration, mailbox-configuration) (namespace-configuration, opaque-dovecot-configuration): New public variables. * gnu-system.am (GNU_SYSTEM_MODULES): Add (gnu services mail). * doc/guix.texi (Mail Services): New node.
* doc: Give another example use of 'propagated-inputs'.Ludovic Courtès2015-12-15
| | | | | | | Suggested by Leo Famulari <leo@famulari.name>. * doc/guix.texi (package Reference): Explain 'propagated-inputs' for non-C languages.
* gexp: 'local-file' resolves relative file names.Ludovic Courtès2015-12-14
| | | | | | | | | | | | | * guix/gexp.scm (<local-file>): Rename constructor to '%%local-file'. Add 'absolute' field. (%local-file, extract-directory, absolute-file-name): New procedures. (current-source-directory): New macro. (local-file): Adjust call to '%local-file'. (local-file-absolute-file-name): New procedure. (local-file-compiler): Force the 'absolute' field. * tests/guix-system.sh: Test whether 'local-file' canonicalization works. * doc/guix.texi (G-Expressions): Adjust.
* daemon: Add '--rounds'.Ludovic Courtès2015-12-13
| | | | | | | * nix/nix-daemon/guix-daemon.cc (GUIX_OPT_BUILD_ROUNDS): New macro. (options): Add --rounds. (parse_opt): Honor it. * doc/guix.texi (Invoking guix-daemon): Document it.
* doc: Reword description of 'inputs' & co.Ludovic Courtès2015-12-13
| | | | | * doc/guix.texi (package Reference): Reword explanation of 'inputs', 'native-inputs', and 'propagated-inputs'. Add example.
* doc: Fix typo in "Setuid Programs".Ludovic Courtès2015-12-13
| | | | * doc/guix.texi (Setuid Programs): Remove extra 's'.
* doc: rephrase code of conduct.Alex Sassmannshausen2015-12-09
| | | | | | | * doc/contributing.texi (Contributing): Rephrase 'code of conduct' section. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* Add "Contributor Covenant".Ludovic Courtès2015-12-09
| | | | | | | * CODE-OF-CONDUCT: New file, adapted from <http://contributor-covenant.org/version/1/3/0/code_of_conduct.txt>. * doc/contributing.texi (Contributing): Mention it. * Makefile.am (EXTRA_DIST): Add it.
* daemon: Use deterministic $TMPDIR in chroot.Eelco Dolstra2015-12-09
| | | | | | | | | | | | | | Rather than using $<host-TMPDIR>/nix-build-<drvname>-<number>, the temporary directory is now always /tmp/nix-build-<drvname>-0. This improves bitwise-exact reproducibility for builds that store $TMPDIR in their build output. (Of course, those should still be fixed...) * nix/libstore/build.cc (DerivationGoal)[tmpDirInSandbox]: New field. (DerivationGoal::startBuilder): Initialize 'useChroot' earlier. Compute 'tmpDirInSandbox', and use it when populating 'dirsInChroot'. * doc/guix.texi (Build Environment Setup): Document it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* guix build: Add '--check'.Ludovic Courtès2015-12-09
| | | | | | | | | | | * guix/derivations.scm (build-derivations): Add optional 'mode' parameter. * guix/scripts/build.scm (%default-options): Add 'build-mode'. (show-help, %options): Add '--check'. (guix-build): Honor 'build-mode' key of OPTS. Pass it to 'show-what-to-build' and 'build-derivations'. * doc/guix.texi (Invoking guix build): Document it. (Substitutes): Mention it.
* guix build: Add '--rounds'.Ludovic Courtès2015-12-08
| | | | | | | | * guix/scripts/build.scm (show-build-options-help) (%standard-build-options): Add --rounds. (set-build-options-from-command-line): Honor it. * doc/guix.texi (Invoking guix build): Document it. * doc/contributing.texi (Submitting Patches): Mention it.
* gnu-maintenance: Add GNOME updater.Ludovic Courtès2015-12-07
| | | | | | | | | | | | | * guix/gnu-maintenance.scm (ftp-server/directory)[quirks]: Remove glib. (false-if-ftp-error): New macro. (latest-release*): Use it. (non-emacs-gnu-package?): Rename to... (pure-gnu-package?): ... this. Add call to 'gnome-package?'. (%gnu-updater): Adjust accordingly. (gnome-package?, latest-gnome-release): New procedures. (%gnome-updater): New variable. * guix/scripts/refresh.scm (%updaters): Add %GNOME-UPDATER. * doc/guix.texi (Invoking guix refresh): Mention it.
* doc: 'guix environment --container' does not create '/env'.Ludovic Courtès2015-12-07
| | | | | * doc/guix.texi (Invoking guix environment): Remove outdated mention of '/env' for '--container'.
* doc: Mention 'specification->package'.Ludovic Courtès2015-11-28
| | | | | | | Suggested by Florian Paul Schmidt <mista.tapas@gmx.net>. * doc/guix.texi (Using the Configuration System): Mention 'specification->package'.
* services: tor: Store private data under /var/lib/tor.Ludovic Courtès2015-11-27
| | | | | | | | | * gnu/services/networking.scm (tor-configuration->torrc): Add 'DataDirectory' clause. Change 'HiddenServiceDir' to /var/lib/tor/hidden-services/NAME. (tor-hidden-service-activation): Create /var/lib/tor. (tor-hidden-service): Adjust docstring. * doc/guix.texi (Networking Services): Adjust accordingly.
* services: Add 'tor-hidden-service'.Ludovic Courtès2015-11-27
| | | | | | | | | | | | | * gnu/services/networking.scm (<tor-configuration>, <hidden-service>): New record types. (tor-configuration->torrc): New procedure. (tor-dmd-service): Use it. (tor-hidden-service-activation): New procedure. (tor-service-type)[extensions]: Extend ACTIVATION-SERVICE-TYPE. [compose, extend]: New fields. (tor-service): Use 'tor-configuration'. (tor-hidden-service-type): New variable. (tor-hidden-service): New procedure.
* Add 'guix-daemon.conf' job for Upstart.Mario Daniel Ruiz Saavedra2015-11-26
| | | | | | | | | | | | * etc/guix-daemon.conf.in: New file. * daemon.am (CLEANFILES): Add etc/guix-daemon.conf. (upstartjobdir, nodist_upstartjob_DATA): New variables. (EXTRA_DIST): Add etc/guix-daemon.conf.in. * doc/guix.texi (Binary Installation, Build Environment Setup): Mention 'guix-daemon.conf'. Signed-off-by: Mario Daniel Ruiz Saavedra <desiderantes@rocketmail.com> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* lint: Add "cve" checker.Ludovic Courtès2015-11-26
| | | | | | | | | | Fixes <http://bugs.gnu.org/21289>. * guix/scripts/lint.scm (package-name->cpe-name, package-vulnerabilities) (check-vulnerabilities): New procedures. * guix/scripts/lint.scm (%checkers): Add "cve" checker. * tests/lint.scm ("cve", "cve: one vulnerability"): New tests. * doc/guix.texi (Invoking guix lint): Mention it.
* doc: Remove mention of monadic services.Ludovic Courtès2015-11-25
| | | | | * doc/guix.texi (Base Services): Remove mention of a list of monadic services.
* services: dmd: Add 'modules' and 'imported-modules' fields.Ludovic Courtès2015-11-25
| | | | | | | | | | | | | | * gnu/services/dmd.scm (%default-imported-modules, %default-modules): New variables. * gnu/services/dmd.scm (<dmd-service>)[modules, imported-modules]: New field. * gnu/services/dmd.scm (dmd-service-file-name, dmd-service-file): New procedures. (dmd-configuration-file)[modules]: Compute based on the 'imported-modules' field of SERVICES. (dmd-configuration-file): Remove 'use-modules' form. Use 'dmd-service-file', and call 'primitive-load' on each file. * doc/guix.texi (dmd Services): Document the new fields.
* graph: Add '%bag-with-origins-node-type'.Ludovic Courtès2015-11-23
| | | | | | | | | | | * guix/scripts/graph.scm (bag-node-edges): Remove 'filter' call. Add case for 'origin'. (%bag-node-type)[edges]: Add filtering here. (%bag-with-origins-node-type): New variable. (%node-types): Add it. * tests/graph.scm ("bag DAG, including origins"): New test. * tests/guix-graph.sh: Add 'bag-with-origins'. * doc/guix.texi (Invoking guix graph): Document it.
* doc: Mention the 'NIX_REMOTE' variable for 'guix import nix'.Ludovic Courtès2015-11-23
| | | | | | Suggested by rgrau on #guix. * doc/guix.texi (Invoking guix import): Document 'NIX_REMOTE'.
* refresh: Add '--expression'.Ludovic Courtès2015-11-23
| | | | | | * guix/scripts/refresh.scm (%options, show-help): Add --expression. (guix-refresh): Honor it. * doc/guix.texi (Invoking guix refresh): Document it.
* doc: Mention 'guix environment guix'.Ludovic Courtès2015-11-22
| | | | | | * doc/contributing.texi (Building from Git): Mention 'guix environment guix'. Remove outdated description of ./bootstrap. Clarify a few things.
* doc: Remove extraneous "See."Ludovic Courtès2015-11-21
| | | | | * doc/contributing.texi (Building from Git): Remove extra "See" and use @xref instead of @pxref.
* doc: Fix 'geiser-guile-load-path' example.Alex Kost2015-11-21
| | | | | | | Reported by marusich on #guix. * doc/contributing.texi (The Perfect Setup): Wrap modifying 'geiser-guile-load-path' into 'with-eval-after-load'.
* doc: Mention fonts for Asian languages.Ludovic Courtès2015-11-19
| | | | | | | Suggested by Alex Vong <alexvong1995@gmail.com>. * doc/guix.texi (Application Setup): Explain how to install X11 fonts for Asian languages.
* doc: Update documentation of the 'services' field.Ludovic Courtès2015-11-19
| | | | | * doc/guix.texi (operating-system Reference): The 'services' field now contains a list of service objects.
* edit: Honor $VISUAL.Ludovic Courtès2015-11-11
| | | | | | | | Suggested by Andreas Enge <andreas@enge.fr>. * guix/scripts/edit.scm (%editor): Honor 'VISUAL' before 'EDITOR'. (show-help): Adjust accordingly. * doc/guix.texi (Invoking guix edit): Likewise.
* guix package: '--search-paths' can report combined search paths.Ludovic Courtès2015-11-11
| | | | | | | | | | | | | Partly fixes <http://bugs.gnu.org/20255>. * guix/scripts/package.scm (search-path-environment-variables): Change 'profile' to 'profiles'; expect it to be a list. (display-search-paths): Likewise. (%default-options): Remove 'profile' entry. (%options) <--profile>: Keep previous values associated with 'profile' in RESULT. (guix-package)[process-actions, process-query]: Handle the possible lack of 'profile' pair in OPTS.
* install: Run GPM.Ludovic Courtès2015-11-07
| | | | | | | | | Suggested by Adam Pribyl <pribyl@lowlevel.cz> at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00133.html>. * gnu/system/install.scm (installation-services): Add call to 'gpm-service'. * doc/guix.texi (System Installation): Mention GPM.
* services: Add 'gpm-service'.Ludovic Courtès2015-11-07
| | | | | | | | * gnu/services/base.scm (<gpm-configuration>): New record type. (gpm-dmd-service): New procedure. (gpm-service-type): New variable. (gpm-service): New procedure. * doc/guix.texi (Base Services): Document it.
* doc: Make the ifconfig command more visible.Ludovic Courtès2015-11-06
| | | | | | | Suggested by Adam Pribyl <pribyl@lowlevel.cz>. * doc/guix.texi (System Installation): Move the 'ifconfig' command to an @example.
* doc: Back up on the claim of encrypted root partitions.Ludovic Courtès2015-11-04
| | | | | | | | | | | Reported by 宋文武 <iyzsong@openmailbox.org> at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00096.html>. * doc/guix.texi (System Installation): Comment out encrypted root partition commands. * gnu/system/examples/desktop.tmpl (mapped-devices): Remove. (file-systems): Refer to the root by label. * NEWS: Adjust.
* doc: Fix typos.Ludovic Courtès2015-11-04
| | | | * doc/guix.texi (Invoking guix refresh): Fix typos.
* doc: Explain that 'guix publish' relies on the key pair.Ludovic Courtès2015-11-04
| | | | | * doc/guix.texi (Invoking guix publish): Mention 'guix archive --generate-key'.
* import: pypi: add updaterCyril Roelandt2015-11-03
| | | | | | | | * guix/import/pypi.scm (guix-package->pypi-name, latest-release): New procedures. (%pypi-updater): New variable. * guix/scripts/refresh.scm (%updaters): Add %PYPI-UPDATER. * doc/guix.texi (Invoking guix refresh): Mention PyPI
* services: Add 'guix-publish-service'.Ludovic Courtès2015-11-03
| | | | | | | | | | | * gnu/services/base.scm (<guix-publish-configuration>): New record type. (guix-publish-dmd-service): New procedure. (%guix-publish-accounts, guix-publish-service-type): New variables. (guix-publish-service): New procedure. * doc/guix.texi (Invoking guix publish): Add xref to 'guix-publish-service' anchor. (Base Services): Document 'guix-publish-service'.
* doc: Linux-libre 3.19 is needed for using containers.David Thompson2015-11-03
| | | | | * doc/guix.texi ("invoking guix environment", "invoking guix system"): 3.10 is actually too old without backported patches, so change to 3.19.
* doc: './pre-inst-env guix pull' won't upgrade local source tree.Alex Vong2015-11-03
| | | | | | | | * doc/contributing.texi (Running Guix Before It Is Installed): Clarify './pre-inst-env guix pull' won't upgrade local source tree. * doc/guix.texi (Invoking guix pull): Mention ~/.config/guix/latest. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* services: avahi: Add Avahi to the system profile.Ludovic Courtès2015-11-02
| | | | | | | | * gnu/services/avahi.scm (avahi-service-type): Extend PROFILE-SERVICE-TYPE. (avahi-service): Adjust docstring. * doc/guix.texi (Networking Services): Adjust accordingly. * gnu/system/examples/desktop.tmpl (packages): Remove AVAHI.
* services: wicd: Add Wicd to the system profile.Ludovic Courtès2015-11-02
| | | | | | | | | * gnu/services/networking.scm (wicd-service-type): Extend PROFILE-SERVICE-TYPE. (wicd-service): Mention it in docstring. * doc/guix.texi (Networking Services): Update documentation accordingly. * gnu/system/examples/desktop.tmpl (packages): Remove WICD.
* services: Add 'profile-service-type'.Ludovic Courtès2015-11-02
| | | | | | | | | | | * gnu/services.scm (packages->profile-entry): New procedure. (profile-service-type): New variable. * gnu/system.scm (operating-system-directory-base-entries): Remove the "profile" entry. (essential-services): Add a PROFILE-SERVICE-TYPE instance. (operating-system-profile): Rewrite in terms of 'fold-services'. * doc/guix.texi (Service Reference): Add 'profile-service-type'. * doc/images/service-graph.dot: Likewise.
* services: Add 'system-service-type'.Ludovic Courtès2015-11-02
| | | | | | | | | | | | | | | | | | | | | | | * gnu/services.scm (system-derivation): New procedure. (system-service-type): New variable. (boot-script-entry): New procedure. (boot-service-type): Extend SYSTEM-SERVICE-TYPE. (etc-entry): New procedure. (etc-service-type): Extend SYSTEM-SERVICE-TYPE. (fold-services): Change default #:target-type to SYSTEM-SERVICE-TYPE. * gnu/system.scm (operating-system-directory-base-entries): New procedure. (essential-services): Use it. Add an instance of SYSTEM-SERVICE-TYPE. (operating-system-boot-script): Pass #:target-type to 'fold-services'. (operating-system-derivation): Rewrite in terms of 'fold-services'. * gnu/system/linux-container.scm (system-container): Remove. (container-script): Use 'operating-system-derivation'. * guix/scripts/system.scm (export-extension-graph): Replace BOOT-SERVICE-TYPE by SYSTEM-SERVICE-TYPE. * doc/images/service-graph.dot: Add 'system' node and edges. * doc/guix.texi (Service Composition): Mention SYSTEM-SERVICE-TYPE. (Service Reference): Document it. Update 'fold-services' documentation.
* doc: Fix typos.Alex Kost2015-11-02
| | | | * doc/guix.texi (Invoking guix environment): Fix typos.
* doc: Fix typo.Alex Kost2015-11-02
| | | | * doc/guix.texi (Invoking guix container): Fix typo.