aboutsummaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* 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.
* emacs: Enable 'guix-build-log-minor-mode' in shell buffers.Alex Kost2015-11-02
| | | | | | | * emacs/guix-build-log.el (guix-build-log-minor-mode-activate): New variable. (guix-build-log-minor-mode-activate-maybe): New function. * emacs/guix-init.el: Add it to 'shell-mode-hook'. * doc/emacs.texi (Emacs Build Log): Mention it.
* scripts: Add 'container' subcommand.David Thompson2015-11-01
| | | | | | | | * guix/scripts/container.scm: New file. * guix/scripts/container/exec.scm: New file. * po/guix/POTFILES.in: Add them. * Makefile.am (MODULES): Add them. * doc/guix.texi (Invoking guix container): New section.
* doc: Mention minimum Linux-libre version for containers.David Thompson2015-11-01
| | | | | * doc/guix.texi ("invoking guix environment", "invoking guix system"): Mention Linux-libre requirements for container features.
* doc: Give an example with an encrypted root partition.Ludovic Courtès2015-11-01
| | | | | | | * gnu/system/examples/desktop.tmpl: Add 'mapped-devices' field. Use it in 'file-systems'. * doc/guix.texi (System Installation): Suggest encrypted partitions. Give an example of a command sequence.
* services: Add 'udisks-service'.Ludovic Courtès2015-11-01
| | | | | | | | * gnu/services/desktop.scm (<udisks-configuration>): New record type. (udisks-service-type): New variable. (udisks-service): New procedure. (%desktop-services): Use it. * doc/guix.texi (Desktop Services): Document it.
* services: 'polkit-service-type' can now be extended.Ludovic Courtès2015-11-01
| | | | | | | | | | | | | | * gnu/packages/polkit.scm (polkit)[source]: Adjust snippet so that rules and actions are looked for under /etc/polkit-1. * gnu/services/desktop.scm (<polkit-configuration>): New record type. (polkit-directory, polkit-etc-files, polkit-setuid-programs): New procedures. (polkit-service-type)[compose, extend]: New fields. (polkit-service): Refine docstring. (colord-service-type): Extend POLKIT-SERVICE-TYPE. (elogind-configuration-file): Extend POLKIT-SERVICE-TYPE. * doc/guix.texi (Desktop Services): Update 'polkit-service' documentation.
* doc: Suggest diffing things with --no-dereference.Ludovic Courtès2015-11-01
| | | | | * doc/guix.texi (Invoking guix challenge): Add --no-dereference in 'diff' example.
* emacs: Add key bindings for 'guix-build-log-minor-mode'.Alex Kost2015-10-31
| | | | | | | | * emacs/guix-build-log.el (guix-build-log-mode-map): Move keys to ... (guix-build-log-common-map): ...here. New variable. (guix-build-log-minor-mode-map): New variable. (guix-build-log-minor-mode): Use it. * doc/emacs.texi (Emacs Build Log): Document it.
* services: 'tor-service' takes a 'config-file' parameter.Ludovic Courtès2015-10-31
| | | | | | | | * gnu/services/networking.scm (tor-dmd-service): Take a 'config' parameter and honor it. (tor-service): Take a 'config-file' parameter. Pass it in the service's value. * doc/guix.texi (Networking Services): Adjust accordingly.
* scripts: environment: Allow lists of packages in expressions.David Thompson2015-10-30
| | | | | | | * guix/scripts/environment.scm (options/resolve-packages): Match against lists of packages when evaluating expressions. * tests/guix-environment.sh: Add test. * doc/guix.texi ("invoking guix environment"): Add docs.
* system: Add 'locale-libcs' field.Ludovic Courtès2015-10-30
| | | | | | | | | | | | | | | | * gnu/system/locale.scm (localedef-command)[maybe-version-directory]: New procedure. Use it. (locale-directory): Rename to... (single-locale-directory): ... this. Check the version of LIBC to determine whether to create a "X.Y" sub-directory or to make it a symlink to ".". Add the version number in the derivation name. (locale-directory): New procedure. (%default-locale-libcs): New variable. * gnu/system.scm (<operating-system>)[locale-libcs]: New field. (operating-system-locale-directory): Pass it to 'locale-directory'. * doc/guix.texi (operating-system Reference): Document 'locale-libcs'. (Locales)[Locale Data Compatibility Considerations]: New section.
* scripts: system: Add 'container' action.David Thompson2015-10-30
| | | | | | | * guix/scripts/system.scm (show-help): Display 'container' action. (system-derivation-for-action, guix-system): Add 'container' case. (perform-action): Skip GRUB config generation when building a container. * doc/guix.texi (Invoking guix system): Document it.
* doc: Fix outdated description of the bare-bones example.Ludovic Courtès2015-10-29
| | | | | | | Reported by fps on #guix. * doc/guix.texi (Using the Configuration System): Replace mention of Emacs with tcpdump.
* scripts: environment: Allow mixing regular and ad-hoc packages.David Thompson2015-10-29
| | | | | | | | | | | | | | | | | This patch changes the --ad-hoc flag to be positional. That is, the packages that appear before --ad-hoc are interpreted as packages whose inputs should be in the environment; the packages that appear after are interpreted as packages to be directly added to the environment. * guix/scripts/environment.scm (tag-package-arg, compact): New procedures. (%options): Tweak the handlers for --load and --expression options. (options/resolve-packages): Preserve package mode tag. (parse-args): Tweak argument handler to use package tagging procedure. (guix-environment): Apply ad-hoc behavior on a per package basis. * tests/guix-environment.sh: Add test. * doc/guix.texi ("invoking guix environment"): Document new behavior of --ad-hoc.
* services: Add screen-locker service.Ludovic Courtès2015-10-29
| | | | | | | | | | | | * gnu/system/linux.scm (base-pam-services): Remove "xlock" and "xscreensaver". * gnu/services/xorg.scm (<screen-locker>): New record type. (screen-locker-pam-services, screen-locker-setuid-programs, screen-locker-service): New procedures. (screen-locker-service-type): New variable. * gnu/services/desktop.scm (%desktop-services): Use them. * doc/guix.texi (X Window): Document 'screen-locker-service'. (Desktop Services): Mention it.
* doc: Mention Nix in the intro.Ludovic Courtès2015-10-29
| | | | | | * doc/guix.texi (Introduction): Mention Nix with a xref to "Acknowledgments". (Acknowledgments): Add link to nixos.org.
* services: Add 'modify-services'.Ludovic Courtès2015-10-28
| | | | | | | | | | | * gnu/services.scm (%modify-service, modify-services): New macros. * gnu/services/base.scm (mingetty-service-type, guix-service-type): Export. * emacs/guix-devel.el (guix-devel-keywords): Add 'modify-services'. Ditto in 'guix-devel-scheme-indent' call. * doc/guix.texi (Using the Configuration System): Give an example of 'modify-services'. (Service Reference): Document it.
* services: 'guix-configuration' has a 'substitute-urls' field.Ludovic Courtès2015-10-28
| | | | | | | * gnu/services/base.scm (<guix-configuration>)[substitute-urls]: New field. (guix-dmd-service): Honor it. * doc/guix.texi (Base Services): Document it.
* refresh: Support comma-separated updater types.Alex Kost2015-10-28
| | | | | | | | * guix/scripts/refresh.scm (%options): Handle comma-separated types for '--type' option. (guix-refresh): Adjust accordingly. (show-help): Likewise. * doc/guix.texi (Invoking guix refresh): Document it.
* scripts: build: Add --file option.David Thompson2015-10-28
| | | | | | | | * guix/scripts/build.scm (show-help): Add help text for --file option. (%options): Add --file option. (options/resolve-packages): Handle 'file' options. * tests/guix-build.sh: Add tests. * doc/guix.texi ("invoking guix build"): Add doc.