summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)Author
2015-05-01services: Add console-keymap service.Alex Kost
* gnu/services/base.scm (console-keymap-service): New procedure. * doc/guix.texi (Base Services): Document it. Co-authored-by: 宋文武 <iyzsong@gmail.com>
2015-05-01derivations: Add #:leaked-env-vars parameter.Ludovic Courtès
Suggested by Joshua Randall <jcrandall@alum.mit.edu> in <http://bugs.gnu.org/20402>. * guix/derivations.scm (derivation): Add #:leaked-env-vars parameter. [user+system-env-vars]: Honor it. * guix/gexp.scm (gexp->derivation): Add #:leaked-env-vars and pass it to 'raw-derivation'. * doc/guix.texi (Derivations, G-Expressions): Adjust accordingly.
2015-04-20system: Make /gnu/store a read-only bind mount by default.Ludovic Courtès
* gnu/system/file-systems.scm (%immutable-store): New variable. (%base-file-systems): Add it. * doc/guix.texi (File Systems): Document it.
2015-04-19guix package: -A and -s take supported systems into account.Ludovic Courtès
* guix/scripts/package.scm (guix-package)[process-query] <list-available>: Restrict results to packages matching 'supported-package?". * guix/ui.scm (package->recutils): Print "systems:". * tests/guix-package.sh: Add tests. * doc/guix.texi (Invoking guix package): Adjust description of '--list-available' accordingly.
2015-04-18doc: Warn earlier about the risk of overwriting with the binary install.Ludovic Courtès
Suggested by Pjotr Prins <pjotr.public12@thebird.nl>. * doc/guix.texi (Binary Installation): Move warning about overwriting higher up.
2015-04-18packages: Allow package lookups with version prefixes.Ludovic Courtès
* gnu/packages.scm (find-packages-by-name): Sort MATCHING according to 'version>?'. Use 'string-prefix?' instead of 'string=?' to compare against VERSION. * doc/guix.texi (Invoking guix package): Add example and explanation.
2015-04-17Merge branch 'master' into core-updatesMark H Weaver
Conflicts: gnu-system.am gnu/packages/gstreamer.scm
2015-04-16refresh: Allow users to refer to specific package versions.Ludovic Courtès
* guix/scripts/refresh.scm (guix-refresh): Use 'specification->package' instead of 'find-packages-by-name'. This allows users to specify things like "qt-4.8.6". * doc/guix.texi (Invoking guix refresh): Add an example.
2015-04-15doc: Add section on installation from a binary tarball.Ludovic Courtès
* doc/guix.texi (Binary Installation): New section.
2015-04-14guix package: Add '--do-not-upgrade' option.Mark H Weaver
* guix/scripts/package.scm (%options): Add the '--do-not-upgrade' option. (show-help): Document it. (options->installable): Add 'do-not-upgrade-regexps' variable. Use it in 'packages-to-upgrade'. * doc/guix.texi (Invoking guix package): Document the '--do-not-upgrade' option.
2015-04-13Merge branch 'master' into core-updatesMark H Weaver
2015-04-13services: Add upower.Andy Wingo
* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/upower.scm. * gnu/services/upower.scm: New file, defining a upower service. * doc/guix.texi (Various Services): Mention it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-12doc: Add example showing how to customize 'nscd-service'.Ludovic Courtès
* doc/guix.texi (Name Service Switch): Add link to nss-mdns. Add example show how to pass #:name-services to 'nscd-service'. (Base Services): Add link from 'nscd-service' to the above. * gnu/services/base.scm (nscd-service): Update docstring accordingly.
2015-04-09Merge branch 'master' into core-updatesLudovic Courtès
2015-04-08activation: Remove undeclared user accounts and groups.Ludovic Courtès
Fixes <http://bugs.gnu.org/19795>. Reported by David Thompson <dthompson2@worcester.edu>. * gnu/build/activation.scm (enumerate, current-users, current-groups, delete-user, delete-group): New procedures. (activate-users+groups): Add calls to 'delete-user' and 'delete-group'. * doc/guix.texi (User Accounts): Add a paragraph about statelessness. Explain that passwords are preserved.
2015-04-08import: Add hackage importer.Federico Beffa
* guix/scripts/import.scm (importers): Add hackage. * guix/scripts/import/hackage.scm: New file. * po/guix/POTFILES.in: Add guix/scripts/import.scm. * doc/guix.texi: Add section on 'hackage' importer.
2015-04-08gnu: Add colord service.Andy Wingo
* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/services/colord.scm. * gnu/services/colord.scm: New file. * doc/guix.texi (Various Services): Document it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-04-07doc: Refer to "Substitutes" from "Setting Up the Daemon".Ludovic Courtès
Suggested by Mark H Weaver. * doc/guix.texi (Setting Up the Daemon): Add xref to "Substitutes".
2015-04-07doc: Mention the relation between module names and file names.Ludovic Courtès
* doc/guix.texi (Package Modules): Mention the relation between module names and file names.
2015-04-07doc: Mention that the current generation is not deleted.Ludovic Courtès
* doc/guix.texi (Invoking guix package): Mention that the current generation is not deleted. This is a followup to d26eb84.
2015-04-04scripts: Add 'publish' command.David Thompson
* guix/scripts/publish.scm: New file. * po/guix/POTFILES.in: Add it. * tests/publish.scm: New file. * Makefile.am (MODULES): Add script module. (SCM_TESTS): Add test module. * doc/guix.texi ("Invoking guix publish"): New node.
2015-04-04build-system: Add haskell-build-system.Federico Beffa
* guix/build-system/haskell.scm: New file. * guix/build/haskell-build-system.scm: New file. * doc/guix.texi: Add section on 'haskell-build-system'.
2015-04-03services: lsh: Change #:initialize? to default to #t.Ludovic Courtès
* gnu/services/ssh.scm (lsh-service): Change #:initialize? to default to #t. * doc/guix.texi (Using the Configuration System): Remove #:initialize? #t from example. (Networking Services): Adjust accordingly.
2015-04-02doc: Make it clear that store items must not be deleted by hand.Ludovic Courtès
* doc/guix.texi (Invoking guix gc): Add that this is the only way to delete files.
2015-04-02doc: Remove bits about having to create /gnu/store manually.Ludovic Courtès
* doc/guix.texi (Build Environment Setup): Remove bit about creating /gnu/store. This is done automatically since 15ddeff.
2015-04-01services: syslog-service: Add 'config-file' argument.Alex Kost
* gnu/services/base.scm (syslog-service): Add 'config-file' keyword argument. * doc/guix.texi (Base Services): Document it.
2015-03-29gexp: Add 'local-file'.Ludovic Courtès
* guix/gexp.scm (<local-file>): New record type. (local-file): New procedure. (local-file-compiler): New compiler. (gexp->sexp) <struct? thing>: Handle the case where 'lower' returns a file name. (text-file*): Update docstring.local-file doc * tests/gexp.scm ("one local file", "gexp->derivation, local-file"): New tests. * doc/guix.texi (G-Expressions): Mention local files early. Document 'local-file'. Update 'text-file*' documentation.
2015-03-29doc: Update gexp wrt. extensibility.Ludovic Courtès
This is a followup to bcb1328. * doc/guix.texi (G-Expressions): Move paragraph about extensibility below. Remove assumptions that things are either packages or derivations.
2015-03-26services: Add 'lirc-service'.Alex Kost
* gnu/services/lirc.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Various Services): New node. Document 'lirc-service'.
2015-03-19doc: Add section about the test suite.Ludovic Courtès
* doc/guix.texi (Running the Test Suite): New section.
2015-03-17gexp: Move the package and origin compilers to (guix packages).Ludovic Courtès
From now own, (guix packages) depends on (guix gexps); it was the other way around now. This means that (guix packages) code can use gexps. * guix/gexp.scm (origin-compiler, package-compiler): Remove. (default-guile-derivation): New procedure. (gexp->derivation): Use it instead of 'default-guile' + 'package->derivation'. * guix/packages.scm (default-guile-derivation): New procedure. (package-compiler, origin-compiler): New variables. * doc/guix.texi (G-Expressions): Mention extensibility.
2015-03-13services: slim: Use /run/current-system/profile/share/xsessions as sessiondir.宋文武
* gnu/services/xorg.scm (<session-type>, %windowmaker-session-type) (%ratposion-session-type, %sawfish-session-type, %default-xsessions) (xsessions-directory): Remove. (slim-service): Remove #:sessions parameter. [slim.cfg]: Use /run/current-system/profile/share/xsessions as sessiondir. * doc/guix.texi <X Window>: Adjust accordingly.
2015-03-11doc: Suggest to use 'lsh-service' with #:initialize? #t.Ludovic Courtès
Suggested by Tomáš Čech. * doc/guix.texi (Using the Configuration System): Pass #:initialize? #t to 'lsh-service'.
2015-03-03Revert "system: Add 'x509-certificates' field, and populate /etc/ssl/certs."Mark H Weaver
This reverts commit e979e6dd523acaa2a089f1b8f44e34c1e5b7d32d.
2015-03-02system: Add 'x509-certificates' field, and populate /etc/ssl/certs.Ludovic Courtès
* gnu/system.scm (<operating-system>)[x509-certificates]: New field. (etc-directory): Add #:x509-certificates parameter and honor it. (operating-system-etc-directory): Pass #:x509-certificates in 'etc-directory' call. * doc/guix.texi (operating-system Reference): Document 'x509-certificates'.
2015-02-26services: slim: Preserve the order of session types.Ludovic Courtès
That makes WindowMaker the default session, by default. * gnu/services/xorg.scm (xsessions-directory)[builder]: Prepend a number in the file name to preserve the order of SESSIONS. (slim-service): Augment docstring. * doc/guix.texi (X Window): Adjust accordingly.
2015-02-18import: cpan: Use corelist to filter dependencies.Eric Bavier
* guix/import/cpan.scm (%corelist): New variable. (module->dist-name, core-module?): New procedures. (cpan-module->sexp)[convert-inputs]: Use them. Include "test" dependencies in converted inputs. * doc/guix.texi (Invoking guix import)[cpan]: Mention corelist filtering.
2015-02-18build-system/perl: Use Build.PL for builds if present.Eric Bavier
* guix/build/perl-build-system.scm (configure): Use Build.PL if present. (build, check, install): New procedures. (%standard-phases): Replace build, check, and install phases. * guix/build-system/perl (perl-build): Add make-maker? and module-build-flags arguments. * doc/guix.texi (Build Systems)[perl-build-system]: Document behavior rsp. Build.PL and new arguments.
2015-02-13gexp: Add #:graft? parameter to 'gexp->derivation'.Ludovic Courtès
* guix/gexp.scm (gexp->derivation): Add #:graft? parameter and honor it. * tests/gexp.scm ("gexp->derivation vs. grafts"): New test. * doc/guix.texi (G-Expressions): Update 'gexp->derivation' documentation.
2015-02-12store: Add optional 'references' parameter to 'text-file'.Ludovic Courtès
* guix/store.scm (text-file): Add optional 'references' parameter. Pass it to 'add-text-to-store'. * doc/guix.texi (The Store Monad): Adjust accordingly.
2015-02-11gexp: Add #:allowed-references parameter to 'gexp->derivation'.Ludovic Courtès
* guix/gexp.scm (lower-references): New procedure. (gexp->derivation): Add #:allowed-references and honor it. * tests/gexp.scm ("gexp->derivation #:allowed-references", "gexp->derivation #:allowed-references, disallowed"): New tests. * doc/guix.texi (G-Expressions): Update 'gexp->derivation' doc.
2015-02-11doc: Use @code for the abstract USB image URL.Ludovic Courtès
Reported by Quentin Pradet <webmasters-comment@gnu.org>. * doc/guix.texi (System Installation): Use @code instead of @url for the abstract URL.
2015-02-08services: lsh: Add graceful handling of daemonic option.nebuli
* gnu/services/ssh.scm (lsh-service): New #:keys (daemonic?, pid-file?, pid-file). Build new lshd-command and expand service-requirement field. * doc/guix.texi (Networking Services): Update accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-02-08build: Add 'waf-build-system'.Ricardo Wurmus
* guix/build-system/waf.scm, guix/build/waf-build-system.scm: New files. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document waf-build-system.
2015-02-08doc: Remove ".ko" extension in 'base-initrd' example.Ludovic Courtès
Reported by Marek Benc. * doc/guix.texi (Initial RAM Disk): Remove ".ko" from the 'base-initrd' example. Add a comment.
2015-02-07doc: Document the location of the build directory.Ludovic Courtès
Fixes <http://bugs.gnu.org/19771>. Reported by Andrei Osipov <andrspv@gmail.com>. * doc/guix.texi (Invoking guix-daemon): Document the build directory location.
2015-02-06doc: Provide a better illustration of Ethernet interface names.Ludovic Courtès
Reported on #guix. * doc/guix.texi (System Installation)[USB Stick Installation]: Mention "eno1" instead of "eth0" and give other examples.
2015-02-04services: Add wicd service.Mark H Weaver
* gnu/services/networking.scm (wicd-service): New procedure. * doc/guix.texi (Networking Services): Document it.
2015-02-04services: nscd-service: Add #:name-services parameter.Ludovic Courtès
* gnu/services/base.scm (nscd-service): Add #:name-services parameter. In 'start' field, set LD_LIBRARY_PATH based on #:name-services. * doc/guix.texi (Base Services): Document it. (Name Service Switch): Link to 'nscd-service'.
2015-02-04system: Add bindings to configure libc's NSS.Ludovic Courtès
* gnu/system/nss.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu.scm (%public-modules): Add it. * gnu/system.scm (<operating-system>)[name-service-switch]: New field. (etc-directory): Add #:nss parameter and honor it. (operating-system-etc-directory): Adjust call accordingly. * doc/guix.texi (operating-system Reference): Document 'name-service-switch'. (Name Service Switch): New section.