aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
Commit message (Collapse)AuthorAge
* profiles: Generate an 'etc/profile' file.Ludovic Courtès2015-05-06
| | | | | | | | | | | | | | Suggested by 宋文武 <iyzsong@gmail.com> in <http://bugs.gnu.org/20255>. * guix/build/profiles.scm (abstract-profile, write-environment-variable-definition): New procedures. (build-profile): Add #:search-paths parameter. Create OUTPUT/etc/profile. * guix/profiles.scm (profile-derivation)[builder]: Add 'search-paths' variable and pass it to 'build-profile'. Adjust #:modules argument. * tests/profiles.scm ("etc/profile"): New test. * doc/guix.texi (Invoking guix package): Mention etc/profile.
* services: Group desktop services in (gnu services desktop).Ludovic Courtès2015-05-05
| | | | | | | | | | | * gnu/services/colord.scm, gnu/services/dbus.scm, gnu/services/upower.scm: Remove. * gnu/services/desktop.scm: New file, with contents taken from the above files. * gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly. * doc/guix.texi (Desktop Services): New section. (Various Services): Move colord-service and upower-service from here to "Desktop Services".
* doc: Fix dangling references in the 'sh-symlink' monad example.Ludovic Courtès2015-05-04
| | | | | | | | Reported by Christopher A. Webber <cwebber@dustycloud.org>. * doc/guix.texi (The Store Monad): Reintroduce 'mlet' in 'sh-symlink' example. Move the simplified version below. Explain that the 'store' parameter is threaded.
* doc: Suggest 'groupadd --system'.Ludovic Courtès2015-05-04
| | | | * doc/guix.texi (Build Environment Setup): Use 'groupadd --system'.
* doc: Clarify installation from the binary tarball.Ludovic Courtès2015-05-04
| | | | | | * doc/guix.texi (Binary Installation): Specifically refer to group/account creation, and add an item for substitutes. Mention verifiability.
* doc: Replace reference to profile.sh with sh-symlinkChristopher Allan Webber2015-05-04
| | | | | | | | * doc/guix.texi (The Store Monad): Replace reference to "profile.sh", which is not defined until the next node, with "sh-symlink", which is defined immediately above Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* guix: build: Add transitive source building.Eric Bavier2015-05-02
| | | | | | | * guix/scripts/build.scm (%options, options->derivations): Add --sources option. * doc/guix.texi (Invoking guix build): Document --sources option. * tests/guix-build.sh: Add tests.
* services: Add console-keymap service.Alex Kost2015-05-01
| | | | | | | * gnu/services/base.scm (console-keymap-service): New procedure. * doc/guix.texi (Base Services): Document it. Co-authored-by: 宋文武 <iyzsong@gmail.com>
* derivations: Add #:leaked-env-vars parameter.Ludovic Courtès2015-05-01
| | | | | | | | | | | 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.
* system: Make /gnu/store a read-only bind mount by default.Ludovic Courtès2015-04-20
| | | | | | * gnu/system/file-systems.scm (%immutable-store): New variable. (%base-file-systems): Add it. * doc/guix.texi (File Systems): Document it.
* guix package: -A and -s take supported systems into account.Ludovic Courtès2015-04-19
| | | | | | | | | | * 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.
* doc: Warn earlier about the risk of overwriting with the binary install.Ludovic Courtès2015-04-18
| | | | | | | Suggested by Pjotr Prins <pjotr.public12@thebird.nl>. * doc/guix.texi (Binary Installation): Move warning about overwriting higher up.
* packages: Allow package lookups with version prefixes.Ludovic Courtès2015-04-18
| | | | | | | * 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.
* Merge branch 'master' into core-updatesMark H Weaver2015-04-17
|\ | | | | | | | | | | Conflicts: gnu-system.am gnu/packages/gstreamer.scm
| * doc: Add section on installation from a binary tarball.Ludovic Courtès2015-04-15
| | | | | | | | * doc/guix.texi (Binary Installation): New section.
| * guix package: Add '--do-not-upgrade' option.Mark H Weaver2015-04-14
| | | | | | | | | | | | | | | | | | * 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.
* | refresh: Allow users to refer to specific package versions.Ludovic Courtès2015-04-16
| | | | | | | | | | | | | | * 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.
* | Merge branch 'master' into core-updatesMark H Weaver2015-04-13
|\|
| * doc: Add example showing how to customize 'nscd-service'.Ludovic Courtès2015-04-12
| | | | | | | | | | | | | | * 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.
* | services: Add upower.Andy Wingo2015-04-13
| | | | | | | | | | | | | | | | * 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>
* | Merge branch 'master' into core-updatesLudovic Courtès2015-04-09
|\|
| * activation: Remove undeclared user accounts and groups.Ludovic Courtès2015-04-08
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * import: Add hackage importer.Federico Beffa2015-04-08
| | | | | | | | | | | | | | * 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.
* | gnu: Add colord service.Andy Wingo2015-04-08
|/ | | | | | | | * 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>
* doc: Refer to "Substitutes" from "Setting Up the Daemon".Ludovic Courtès2015-04-07
| | | | | | Suggested by Mark H Weaver. * doc/guix.texi (Setting Up the Daemon): Add xref to "Substitutes".
* doc: Mention the relation between module names and file names.Ludovic Courtès2015-04-07
| | | | | * doc/guix.texi (Package Modules): Mention the relation between module names and file names.
* doc: Mention that the current generation is not deleted.Ludovic Courtès2015-04-07
| | | | | * doc/guix.texi (Invoking guix package): Mention that the current generation is not deleted. This is a followup to d26eb84.
* scripts: Add 'publish' command.David Thompson2015-04-04
| | | | | | | | | * 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.
* build-system: Add haskell-build-system.Federico Beffa2015-04-04
| | | | | | * guix/build-system/haskell.scm: New file. * guix/build/haskell-build-system.scm: New file. * doc/guix.texi: Add section on 'haskell-build-system'.
* services: lsh: Change #:initialize? to default to #t.Ludovic Courtès2015-04-03
| | | | | | | | * 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.
* doc: Make it clear that store items must not be deleted by hand.Ludovic Courtès2015-04-02
| | | | | * doc/guix.texi (Invoking guix gc): Add that this is the only way to delete files.
* doc: Remove bits about having to create /gnu/store manually.Ludovic Courtès2015-04-02
| | | | | * doc/guix.texi (Build Environment Setup): Remove bit about creating /gnu/store. This is done automatically since 15ddeff.
* services: syslog-service: Add 'config-file' argument.Alex Kost2015-04-01
| | | | | | * gnu/services/base.scm (syslog-service): Add 'config-file' keyword argument. * doc/guix.texi (Base Services): Document it.
* gexp: Add 'local-file'.Ludovic Courtès2015-03-29
| | | | | | | | | | | | | * 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.
* doc: Update gexp wrt. extensibility.Ludovic Courtès2015-03-29
| | | | | | | | 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.
* services: Add 'lirc-service'.Alex Kost2015-03-26
| | | | | | * gnu/services/lirc.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Various Services): New node. Document 'lirc-service'.
* doc: Add section about the test suite.Ludovic Courtès2015-03-19
| | | | * doc/guix.texi (Running the Test Suite): New section.
* gexp: Move the package and origin compilers to (guix packages).Ludovic Courtès2015-03-17
| | | | | | | | | | | | | 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.
* services: slim: Use /run/current-system/profile/share/xsessions as sessiondir.宋文武2015-03-13
| | | | | | | | | * 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.
* doc: Suggest to use 'lsh-service' with #:initialize? #t.Ludovic Courtès2015-03-11
| | | | | | | Suggested by Tomáš Čech. * doc/guix.texi (Using the Configuration System): Pass #:initialize? #t to 'lsh-service'.
* Revert "system: Add 'x509-certificates' field, and populate /etc/ssl/certs."Mark H Weaver2015-03-03
| | | | This reverts commit e979e6dd523acaa2a089f1b8f44e34c1e5b7d32d.
* system: Add 'x509-certificates' field, and populate /etc/ssl/certs.Ludovic Courtès2015-03-02
| | | | | | | | | * 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'.
* services: slim: Preserve the order of session types.Ludovic Courtès2015-02-26
| | | | | | | | | 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.
* import: cpan: Use corelist to filter dependencies.Eric Bavier2015-02-18
| | | | | | | | * 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.
* build-system/perl: Use Build.PL for builds if present.Eric Bavier2015-02-18
| | | | | | | | | | * 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.
* gexp: Add #:graft? parameter to 'gexp->derivation'.Ludovic Courtès2015-02-13
| | | | | | | * 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.
* store: Add optional 'references' parameter to 'text-file'.Ludovic Courtès2015-02-12
| | | | | | * guix/store.scm (text-file): Add optional 'references' parameter. Pass it to 'add-text-to-store'. * doc/guix.texi (The Store Monad): Adjust accordingly.
* gexp: Add #:allowed-references parameter to 'gexp->derivation'.Ludovic Courtès2015-02-11
| | | | | | | | * 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.
* doc: Use @code for the abstract USB image URL.Ludovic Courtès2015-02-11
| | | | | | | Reported by Quentin Pradet <webmasters-comment@gnu.org>. * doc/guix.texi (System Installation): Use @code instead of @url for the abstract URL.
* services: lsh: Add graceful handling of daemonic option.nebuli2015-02-08
| | | | | | | | | * 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>